<?xml version="1.0" encoding="UTF-8" ?>
<DataIntegratorExport repositoryVersion="12.2.2.0000" productVersion="12.2.3.2">
<DIDatabaseDatastore name="SRCSTAGING_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>SRCSTAGING_ALIAS</db_alias_name1>
<db_alias_user1>dws</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;085A6DF93DA01ED1DEA3BB1DC1D656C0EF56E65913FB53605B75804428674DE2</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dws</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DIDatabaseDatastore name="DW_ABC_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>DW_ABC_ALIAS</db_alias_name1>
<db_alias_user1>dwabc</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;89770408927C5ECAB76D9855E0DA5FE4F25B0E2949263E3397D5BD72B1A30930</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dwabc</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="DW_ABC_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DIDatabaseDatastore name="DW_METADATA_DS" typeId="3" >
<DIAttributes>
<DIAttribute name="DBLiveLoad" value="no"/>
<DIAttribute name="application_type" value="Custom"/>
<DIAttribute name="cdc_enabled" value="no"/>
<DIAttribute name="datastore_repotype" value="local"/>
<DIAttribute name="ds_configuration_enabled" value="yes"/>
<DIAttribute name="ds_configurations" hasNestedXMLTree ="true">

<DSConfigurations>
<DSConfiguration default="true" name="Default">
<case_sensitive>no</case_sensitive>
<database_type>Microsoft_SQL_Server</database_type>
<db_alias_name1>DW_METADATA_ALIAS</db_alias_name1>
<db_alias_user1>dwmetadata</db_alias_user1>
<loader_xact_size>1000</loader_xact_size>
<locale_codepage>&lt;default&gt;</locale_codepage>
<locale_language>&lt;default&gt;</locale_language>
<locale_territory>&lt;default&gt;</locale_territory>
<mssql_windows_authentication>no</mssql_windows_authentication>
<password>;085A6DF93DA01ED1DEA3BB1DC1D656C0EF56E65913FB53605B75804428674DE2</password>
<sql_server_database>XsStaging</sql_server_database>
<sql_server_dataserver>localhost,1433</sql_server_dataserver>
<sql_server_version>Microsoft SQL Server 2005</sql_server_version>
<user>dwmetadata</user>
</DSConfiguration>
</DSConfigurations>

</DIAttribute>
<DIAttribute name="enable_data_transfer" value="yes"/>
<DIAttribute name="import_unknown_type" value="no"/>
<DIAttribute name="name" value="DW_METADATA_DS"/>
<DIAttribute name="unknown_type_size" value="255"/>
</DIAttributes>
</DIDatabaseDatastore>
<DITable name="PPM_FM_EXCHANGE_RATES_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="START_TIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="FINISH_TIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" nullable="false" >
</DIColumn>
<DIColumn name="EXCHANGE_RATE" datatype="DOUBLE" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_FM_EXCHANGE_RATES_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_FM_EXCHANGE_RATES_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="FINISH_TIME" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" nullable="false" >
</DIColumn>
<DIColumn name="EXCHANGE_RATE" datatype="DOUBLE" nullable="false" >
</DIColumn>
<DIColumn name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" nullable="false" >
</DIColumn>
<DIColumn name="START_TIME" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_FM_EXCHANGE_RATES_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_FG_PFM_ASSET_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ASSET_NAME" datatype="VARCHAR" size="300" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_FG_PFM_ASSET_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_FG_PFM_ASSET_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ASSET_NAME" datatype="VARCHAR" size="300" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_FG_PFM_ASSET_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_FG_PFM_PROJECT_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="PLAN_END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLAN_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_FG_PFM_PROJECT_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_FG_PFM_PROJECT_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PLAN_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PLAN_END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_FG_PFM_PROJECT_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQ_DETAILS_PLHD_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="5 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQ_DETAILS_PLHD_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQ_DETAILS_PLHD_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="3 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQ_DETAILS_PLHD_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQ_HEADER_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="3 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQ_HEADER_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQ_HEADER_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="3 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PARAMETER_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_38" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_50" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_26" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_32" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_25" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_43" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_21" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_48" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_45" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_34" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_36" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_44" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_31" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_27" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_39" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_33" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="PARAMETER_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQ_HEADER_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQUEST_DETAILS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="IDENTIFIED_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ISSUE_TYPE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="DUE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RESOLUTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQUEST_DETAILS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQUEST_DETAILS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ISSUE_TYPE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="DUE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="RESOLUTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="IDENTIFIED_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQUEST_DETAILS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQUESTS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PRIORITY_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="STATUS_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="STATUS_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="400" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="CREATION_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="TARGET_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="CLOSE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_NUMBER" datatype="VARCHAR" size="60" nullable="false" >
</DIColumn>
<DIColumn name="REF_PROJECT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQUESTS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCRT_REQUESTS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_NUMBER" datatype="VARCHAR" size="60" nullable="false" >
</DIColumn>
<DIColumn name="STATUS_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="TARGET_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CREATION_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="REF_PROJECT" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="400" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="STATUS_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PRIORITY_CODE" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="CLOSE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCRT_REQUESTS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDG_LINE_CELLS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="PERIOD_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDG_LINE_CELLS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDG_LINE_CELLS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PERIOD_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDG_LINE_CELLS_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDG_PERIOD_SUM_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="PLAN_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="PERIOD_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="40" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDG_PERIOD_SUM_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDG_PERIOD_SUM_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PERIOD_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="40" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PLAN_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDG_PERIOD_SUM_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGET_LINES_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="CATEGORY_CODE" datatype="VARCHAR" size="30" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" nullable="false" >
</DIColumn>
<DIColumn name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="OCFLAG" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGET_LINES_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGET_LINES_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="OCFLAG" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" nullable="false" >
</DIColumn>
<DIColumn name="CATEGORY_CODE" datatype="VARCHAR" size="30" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGET_LINES_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGET_LNK_ENT_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="DNFLAG" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGET_LNK_ENT_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGET_LNK_ENT_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DNFLAG" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGET_LNK_ENT_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGETS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BUDGET_NAME" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="250" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGETS_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_BUDGETS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="250" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BUDGET_NAME" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_BUDGETS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_CURRENCY_CELLS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PLAN_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_CURRENCY_CELLS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_CURRENCY_CELLS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PLAN_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_VALUE_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_CURRENCY_CELLS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_CURRENCY_LINES_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_CURRENCY_LINES_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KCST_CURRENCY_LINES_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CURRENCY_CODE" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KCST_CURRENCY_LINES_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KNTA_REGIONS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="REGION_NAME" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KNTA_REGIONS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KNTA_REGIONS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="REGION_NAME" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KNTA_REGIONS_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KNTA_USERS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="USERNAME" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="USER_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="FIRST_NAME" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" nullable="true" >
</DIColumn>
<DIColumn name="LAST_NAME" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KNTA_USERS_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KNTA_USERS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="LAST_NAME" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="FIRST_NAME" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USERNAME" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KNTA_USERS_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_KPMO_BUS_OBJ_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="STATE_CODE" datatype="VARCHAR" size="120" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KPMO_BUS_OBJ_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KPMO_BUS_OBJ_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="STATE_CODE" datatype="VARCHAR" size="120" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" nullable="true" >
</DIColumn>
<DIColumn name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KPMO_BUS_OBJ_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KRSC_ORG_UNITS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ORG_NAME" datatype="VARCHAR" size="60" nullable="false" >
</DIColumn>
<DIColumn name="CATEGORY_CODE" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="ORG_UNIT_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KRSC_ORG_UNITS_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_KRSC_ORG_UNITS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MANAGER_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="CATEGORY_CODE" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="ORG_NAME" datatype="VARCHAR" size="60" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="ORG_UNIT_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_KRSC_ORG_UNITS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_PGM_PROGRAMS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROGRAM_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PROGRAM_NAME" datatype="VARCHAR" size="255" nullable="false" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="STATUS" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PGM_PROGRAMS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_PGM_PROGRAMS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="STATUS" datatype="VARCHAR" size="100" nullable="true" >
</DIColumn>
<DIColumn name="MANAGER" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PROGRAM_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROGRAM_NAME" datatype="VARCHAR" size="255" nullable="false" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PGM_PROGRAMS_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_PM_PROJECT_TYPES_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PM_PROJECT_TYPES_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_PM_PROJECT_TYPES_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PM_PROJECT_TYPES_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_PM_PROJECTS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="DISPLAY_STATUS" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="STATUS" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_NAME" datatype="VARCHAR" size="300" nullable="true" >
</DIColumn>
<DIColumn name="WORKPLAN_CREATE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="650" nullable="true" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PM_PROJECTS_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_PM_PROJECTS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_NAME" datatype="VARCHAR" size="300" nullable="true" >
</DIColumn>
<DIColumn name="DISPLAY_STATUS" datatype="VARCHAR" size="255" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="DESCRIPTION" datatype="VARCHAR" size="650" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="STATUS" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PROJECT_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_QUALIFIER" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
<DIColumn name="WORKPLAN_CREATE_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_PM_PROJECTS_TSNP" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQ_HD_TYPE_UD_PLHD_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="2 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQ_HD_TYPE_UD_PLHD_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQ_HD_TYPE_UD_PLHD_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQ_HD_TYPE_UD_PLHD_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQUEST_TYPE_UD_PLHD_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="2 Seconds" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQUEST_TYPE_UD_PLHD_EXT" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQUEST_TYPE_UD_PLHD_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQUEST_TYPE_UD_PLHD_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQUEST_USERDATA_PLHD_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="6 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQUEST_USERDATA_PLHD_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_REQUEST_USERDATA_PLHD_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_19" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="REQUEST_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_11" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_17" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_08" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_14" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_06" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_12" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="USER_DATA_09" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="false" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIColumn name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_REQUEST_USERDATA_PLHD_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="PPM_WP_TASKS_EXT" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Updates" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Number_Of_Deletes" value="Cannot track number of inserts, updates or deletes for AutoCorrect Loads" />
<DIAttribute name="Elapsed_Time_For_Load" value="0 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="TASK_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_DURATION" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="MD_PF_FLAG" datatype="VARCHAR" size="1" nullable="true" >
</DIColumn>
<DIColumn name="TASK_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_FLAG" datatype="VARCHAR" size="10" nullable="true" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
<DIPrimaryKeyColumn name="MD_CP_ID" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_WP_TASKS_EXT" unique="true">
<DIIndexColumn name="MD_BUSINESS_KEY" />
<DIIndexColumn name="MD_CP_ID" />
</DITableIndex>
</DITable>
<DITable name="PPM_WP_TASKS_TSNP" owner="dws" datastore="SRCSTAGING_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="Total_Number_Of_Rows_Processed" value="0" />
<DIAttribute name="Number_Of_Rows_Rejected" value="0" />
<DIAttribute name="Number_Of_Inserts" value="0" />
<DIAttribute name="Number_Of_Updates" value="0" />
<DIAttribute name="Number_Of_Deletes" value="0" />
<DIAttribute name="Elapsed_Time_For_Load" value="1 Seconds" />
<DIAttribute name="db_alias_name" value="SRCSTAGING_ALIAS" />
</DIProperties>
<DIColumn name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SRC_LASTMODDATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="END_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="TASK_ID" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="MD_CP_ID" datatype="DECIMAL" precision="28" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="TASK_NAME" datatype="VARCHAR" size="60" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ACTUAL_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="MD_BUSINESS_KEY" datatype="VARCHAR" size="100" nullable="false" >
</DIColumn>
<DIColumn name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_DURATION" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" nullable="true" >
</DIColumn>
<DIColumn name="START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIColumn name="PLANNED_START_DATE" datatype="DATETIME" nullable="true" >
</DIColumn>
<DIPrimaryKey>
<DIPrimaryKeyColumn name="MD_CP_ID" />
<DIPrimaryKeyColumn name="MD_BUSINESS_KEY" />
</DIPrimaryKey>
<DITableIndex name="PK_PPM_WP_TASKS_TSNP" unique="true">
<DIIndexColumn name="MD_CP_ID" />
<DIIndexColumn name="MD_BUSINESS_KEY" />
</DITableIndex>
</DITable>
<DITable name="FILE_LOCATION_INFO" owner="dwmetadata" datastore="DW_METADATA_DS" database="XsStaging" description="" >
<DIProperties>
<DIAttribute name="Table_Type" value="TABLE" />
<DIAttribute name="Estimated_Row_Count" value="50000" />
<DIAttribute name="Loader_Is_Template_Table" value="no" />
<DIAttribute name="db_alias_name" value="DW_METADATA_ALIAS" />
</DIProperties>
<DIColumn name="ID" datatype="DECIMAL" precision="10" scale="0" nullable="false" >
</DIColumn>
<DIColumn name="SOURCE" datatype="VARCHAR" size="30" nullable="true" >
</DIColumn>
<DIColumn name="FILE_LOCATION" datatype="VARCHAR" size="200" nullable="true" >
</DIColumn>
</DITable>
<DIScriptFunction name="ABC_ENDJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#UPDATE STEP_RUNTIME RECORD WITH SUCCESS STATUS AND END TIME&#xA;#GET JOB_ID&#xA;&#xA;$l_status = 'SUCCESS';&#xA;#$now = sysdate();&#xA;&#xA;$l_wf_failed_count = sql('DW_ABC_DS',' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')');&#xA;ETL_PRINT( '**     wf_failed_count = {$l_wf_failed_count}' );&#xA;&#xA;$l_wf_success_count = sql('DW_ABC_DS',' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'');&#xA;ETL_PRINT( '**     wf_success_count = {$l_wf_success_count}' );&#xA;&#xA;$l_am_failed_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')');&#xA;ETL_PRINT( '**     am_failed_count = {$l_am_failed_count}' );&#xA;&#xA;$l_am_warning_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'WARNING\'');&#xA;ETL_PRINT( '**     am_warning_count = {$l_am_warning_count}' );&#xA;&#xA;$l_am_success_count = sql('DW_ABC_DS',' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'');&#xA;ETL_PRINT( '**     am_success_count = {$l_am_success_count}' );&#xA;&#xA;$l_status_info = 'WFs statuses: success: ' || $l_wf_success_count || ', error: '  || $l_wf_failed_count ||' || Audit metrics: success: ' || $l_am_success_count || ', warning: ' || $l_am_warning_count || ', error: ' || $l_am_failed_count || '.';&#xA;&#xA;if ($l_wf_failed_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'ERROR';&#xA;&#x9;$l_reco_action =  'Drill to WF level to access the error message. ';&#xA;end&#x9;&#xA;else if ($l_am_failed_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'ERROR'; &#xA;&#x9;$l_reco_action = $l_reco_action || 'Refer to failed metrics. ';&#xA;end&#xA;else if ($l_am_warning_count &gt; 0)&#xA;begin&#xA;&#x9;$l_status = 'WARNING';&#xA;&#x9;$l_reco_action = $l_reco_action || 'Check WARNING metrics. ';&#xA;end&#xA;&#xA;&#xA;#sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;#               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = {sysdate()}, STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;#               where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}');&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '** The Job {job_name()} is ending' );&#xA;ETL_PRINT( '**   status: {$l_status}' );&#xA;ETL_PRINT( '**   explanation: {$l_status_info})' );&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_wf_failed_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_status" datatype="VARCHAR" size="10" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_wf_success_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_status_info" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_failed_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_warning_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_am_success_count" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_reco_action" datatype="VARCHAR" size="4000" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'SUCCESS'" >
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_wf_failed_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = 'ERROR' or status = 'MAX_EXECUTION_TIME_EXCEEDED')" datatype="VARCHAR" size="175" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     wf_failed_count = {$l_wf_failed_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     wf_failed_count = {$l_wf_failed_count}" datatype="VARCHAR" size="45" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_wf_success_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from JOB_STREAM_STEP_DETAIL_RT&#xA;                     where MD_PROCESS_ID = {$p_process_id} AND status = 'SUCCESS'" datatype="VARCHAR" size="134" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     wf_success_count = {$l_wf_success_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     wf_success_count = {$l_wf_success_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_failed_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = \'ERROR\' or status = \'MAX_EXECUTION_TIME_EXCEEDED\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND (status = 'ERROR' or status = 'MAX_EXECUTION_TIME_EXCEEDED')" datatype="VARCHAR" size="162" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_failed_count = {$l_am_failed_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_failed_count = {$l_am_failed_count}" datatype="VARCHAR" size="45" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_warning_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'WARNING\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = 'WARNING'" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_warning_count = {$l_am_warning_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_warning_count = {$l_am_warning_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_am_success_count" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', ' select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = \'SUCCESS\'')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value=" select count(status) from AUDIT_METRIC&#xA;                    where MD_PROCESS_ID = {$p_process_id} AND status = 'SUCCESS'" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**     am_success_count = {$l_am_success_count}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**     am_success_count = {$l_am_success_count}" datatype="VARCHAR" size="47" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_status_info" >
<DIExpression isString="true" expr="(((((((((('WFs statuses: success: ' || $l_wf_success_count) || ', error: ') || $l_wf_failed_count) || ' || Audit metrics: success: ') || $l_am_success_count) || ', warning: ') || $l_am_warning_count) || ', error: ') || $l_am_failed_count) || '.')" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="WFs statuses: success: " datatype="VARCHAR" size="23" />
<VARIABLE_REFERENCE name="$l_wf_success_count" />
</CONCAT>
<CONSTANT value=", error: " datatype="VARCHAR" size="9" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_wf_failed_count" />
</CONCAT>
<CONSTANT value=" || Audit metrics: success: " datatype="VARCHAR" size="28" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_success_count" />
</CONCAT>
<CONSTANT value=", warning: " datatype="VARCHAR" size="11" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_warning_count" />
</CONCAT>
<CONSTANT value=", error: " datatype="VARCHAR" size="9" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_am_failed_count" />
</CONCAT>
<CONSTANT value="." datatype="VARCHAR" size="1" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_wf_failed_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_wf_failed_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'ERROR'" >
<CONSTANT value="ERROR" datatype="VARCHAR" size="5" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="'Drill to WF level to access the error message. '" >
<CONSTANT value="Drill to WF level to access the error message. " datatype="VARCHAR" size="47" />
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_am_failed_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_am_failed_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'ERROR'" >
<CONSTANT value="ERROR" datatype="VARCHAR" size="5" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="($l_reco_action || 'Refer to failed metrics. ')" >
<CONCAT>
<VARIABLE_REFERENCE name="$l_reco_action" />
<CONSTANT value="Refer to failed metrics. " datatype="VARCHAR" size="25" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_am_warning_count &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$l_am_warning_count" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_status" >
<DIExpression isString="true" expr="'WARNING'" >
<CONSTANT value="WARNING" datatype="VARCHAR" size="7" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_reco_action" >
<DIExpression isString="true" expr="($l_reco_action || 'Check WARNING metrics. ')" >
<CONCAT>
<VARIABLE_REFERENCE name="$l_reco_action" />
<CONSTANT value="Check WARNING metrics. " datatype="VARCHAR" size="23" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
</DIIf>
</DIIfStep>
</DIElse>
</DIIfStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = \'FINISHED\' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT&#xA;               set STATUS = {$l_status}, STATE = 'FINISHED' , END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS_INFO = {$l_status_info}, RECO_ACTION = {$l_reco_action}&#xA;               where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="272" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('** The Job {job_name()} is ending')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="** The Job {job_name()} is ending" datatype="VARCHAR" size="33" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**   status: {$l_status}')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**   status: {$l_status}" datatype="VARCHAR" size="24" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**   explanation: {$l_status_info})')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**   explanation: {$l_status_info})" datatype="VARCHAR" size="35" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_ENDWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="&#xA;# LOOP THROUGH ALL VALUES IN INPUT PARAMETER TARGET_TABLE FIELD&#xA;# UPDATE EACH VALUE (IN DELIMITED STRING) AS SINGLE RECORD WITH ENDDATE&#xA;# CHECK THAT ABC_ENDWF_FN CANNOT BE CALLED BEFORE ABC_STARTWF_FN&#xA;&#xA;$l_previous_status = sql('DW_ABC_DS','select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#xA;if ($l_previous_status is null)&#xA;#  sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;#                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;#                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', {sysdate()})');&#x9;&#xD;&#xA;  sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', convert(datetime,{sysdate()},111))');&#x9;&#xA;else&#xA;  begin&#xA;    if ($l_previous_status = 'RUNNING')&#xA;      sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'SUCCESS\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#x9;else&#xA;      sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'ERROR\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#x9;&#xA;  end&#xA;&#xA;ETL_PRINT( '        ** The workflow: [workflow_name()] is ending' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;&#xA;&#xA;&#xA;&#xA;  "/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_previous_status" datatype="VARCHAR" size="12" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_previous_status" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select STATUS from JOB_STREAM_STEP_DETAIL_RT&#xA;                                      where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="155" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_previous_status IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$l_previous_status" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, \'ERROR\', convert(datetime,{sysdate()},111))')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                   (MD_PROCESS_ID, DETAIL_NAME, STATUS, END_TIME)  &#xA;                   VALUES ({$p_process_id}, {$p_detailname}, 'ERROR', convert(datetime,{sysdate()},111))" datatype="VARCHAR" size="211" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_previous_status = 'RUNNING')" >
<LOGICAL_OP op="EQ">
<VARIABLE_REFERENCE name="$l_previous_status" />
<CONSTANT value="RUNNING" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'SUCCESS\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = 'SUCCESS', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="243" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = \'ERROR\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                       set STATUS = 'ERROR', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                       where MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="241" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow: [workflow_name()] is ending')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow: [workflow_name()] is ending" datatype="VARCHAR" size="52" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_FAILJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# IN EVENT THE JOB FAILED, UPDATE JOB RECORD WITH FAIL STATUS&#xA;&#xA;&#xA;if ($p_process_id is null)&#xA;  begin&#xA; &#x9; ETL_PRINT( 'ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)' );&#xA; &#x9; ETL_PRINT( 'AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)' );&#xA;  end&#xA;else&#xA;  begin&#xA;&#x9; $l_status_text = replace_substr( $p_status_info, '\'','\'\'');&#xA; &#x9; sql('DW_ABC_DS','update JOB_STREAM_STEP_RT&#xA;                 set STATE = \'FINISHED\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} ');&#xA;&#xA;  end&#xA;&#xA;&#xA;ETL_PRINT( '        ** The Job : [job_name()] FAILED' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   status info: ' || $p_status_info );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_status_info" datatype="VARCHAR" size="400" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_status_text" datatype="VARCHAR" size="400" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="ENTERED THE JOB CATCH BEFORE THE PROCESS_ID COULD BE SET (debug mode specific error)" datatype="VARCHAR" size="84" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="AN ERROR RAISED BEFORE the execution of the job start script (this exception will not be recorded by ABC infrastructure)" datatype="VARCHAR" size="120" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_status_text" >
<DIExpression isString="true" expr="replace_substr($p_status_info, '\'', '\'\'')" >
<FUNCTION_CALL name="replace_substr"  type="DI" >
<VARIABLE_REFERENCE name="$p_status_info" />
<CONSTANT value="'" datatype="VARCHAR" size="1" />
<CONSTANT value="''" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT&#xA;                 set STATE = \'FINISHED\', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT&#xA;                 set STATE = 'FINISHED', END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127), STATUS = 'ERROR', STATUS_INFO = {$l_status_text}&#xA;                 where  MD_PROCESS_ID = {$p_process_id} " datatype="VARCHAR" size="241" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The Job : [job_name()] FAILED')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The Job : [job_name()] FAILED" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   status info: ' || $p_status_info))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   status info: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_status_info" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_FAILWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# IN EVENT THE WORKFLOW FAILED, UPDATE WORKFLOW RECORD WITH FAIL STATUS&#xA;&#xA;$l_status_text = replace_substr( $p_status_info, '\'','\'\'');&#xA;&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ');&#xA;&#xA;ETL_PRINT( '        ** The workflow: [workflow_name()] FAILED' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   status info: ' || $p_status_info );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;&#xA;return NULL;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_status_info" datatype="VARCHAR" size="400" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_status_text" datatype="VARCHAR" size="400" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_status_text" >
<DIExpression isString="true" expr="replace_substr($p_status_info, '\'', '\'\'')" >
<FUNCTION_CALL name="replace_substr"  type="DI" >
<VARIABLE_REFERENCE name="$p_status_info" />
<CONSTANT value="'" datatype="VARCHAR" size="1" />
<CONSTANT value="''" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = \'ERROR\', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_DETAIL_RT&#xA;                 set STATUS = 'ERROR', STATUS_INFO = {$l_status_text}, END_TIME = convert(varchar(25),convert(datetime,getdate(),111),127)&#xA;                 where  MD_PROCESS_ID = {$p_process_id} AND DETAIL_NAME = {$p_detailname} " datatype="VARCHAR" size="262" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow: [workflow_name()] FAILED')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow: [workflow_name()] FAILED" datatype="VARCHAR" size="49" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   status info: ' || $p_status_info))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   status info: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_status_info" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_STARTJB_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#$l_job_start_date = sysdate( );&#xD;&#xA;$l_job_start_date = sql('DW_ABC_DS','select getdate()');&#xD;&#xA;$l_job_start_date_vchar = sql('DW_ABC_DS','select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)');&#xD;&#xA;ETL_PRINT('l_job_start_date_vchar = '|| $l_job_start_date_vchar);&#xD;&#xA;#sql('DW_ABC_DS','select convert(datetime,GETDATE()-5,111)');&#xD;&#xA;#;&#xA;# the job may have been called from the DW scheduler as part of a job stream&#xA;# or it may be launched manually &#xA;# if the job is called as part of a job stream&#xA;#   then its row in DW_ABC_DS.STEP_RUNTIME identified by $G_STEP_RT_ID  has already &#xA;#   been created with a WAITING status&#xA;# else&#xA;#   the job has been launched out of a stream context, it will create its own entry &#xA;#   flagged as MANUAL in DW_ABC_DS.STEP_RUNTIME&#xA;       &#xA;if ($p_debug_mode is null or not $p_debug_mode = 1)&#xA;  begin&#xA;    if ($p_process_id is null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1' );&#xA;        raise_exception('$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1');&#xA;      end&#xA;    # retrieve the batch id from the STEP_RUNTIME table&#xA;    $p_batch_id = sql('DW_ABC_DS',&#xA;      'SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;    if ($p_batch_id is null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: Process ' || $p_process_id || ' not found in STEP_RUNTIME table.' );&#xA;        raise_exception('process '||$p_process_id||' is not found in STEP_RUNTIME table.');&#xA;      end&#xA;  end&#xA;else&#xA;  begin&#xA;    if ($p_process_id is not null)&#xA;      begin&#xA;&#x9;    ETL_PRINT( 'ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode || ' but $G_PROCESS_ID is not null (set to '||$p_process_id||'). In debug mode Process ID will be allocated by the job and cannot be specified');&#xA;        raise_exception('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode || ' but $G_PROCESS_ID is not null (set to '||$p_process_id||'). in debug mode Process ID will be allocated by the system and cannot be specified');&#xA;      end&#xA;    # create the job level row in DW_ABC_DS.STEP_RUNTIME note that only a basic row without start dates is created &#xA;  &#x9;# this will be done in code shared for scheduled and manual rows&#xA;&#xD;&#xA;#    sql('DW_ABC_DS','insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;#                     VALUES ({job_name()},{$l_job_start_date}, \'MANUAL\', \'STARTING\')');&#xA;&#xD;&#xA;    sql('DW_ABC_DS','insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, \'MANUAL\', \'STARTING\')');&#xA;  &#x9;# retrieve the row ID affected by the DB, this ID will be used for any future reference to the STEP_RUNTIME table&#xA;# &#x9;$p_process_id = sql('DW_ABC_DS','SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ');&#xA;#&#x9;ETL_PRINT( 'After manual launch, the assigned Process ID is: ' || $p_process_id );&#xA;&#xD;&#xA; &#x9;$p_process_id = sql('DW_ABC_DS','SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ');&#xA;&#x9;ETL_PRINT( 'After manual launch, the assigned Process ID is: ' || $p_process_id );&#xA;&#x9;# No new batch is created in debug mode, but set 0 to batch-id variable to have a not null value&#xA;&#x9;$p_batch_id = 0;&#xA;  end&#xA;&#xA;&#xA;ETL_PRINT ( 'Process ' || $p_process_id || ' retrieved $p_batch_id = {$p_batch_id}' );&#xA;$l_state = sql('DW_ABC_DS',&#xA;      'SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;$l_job_name = sql('DW_ABC_DS',&#xA;      'SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;if ($l_state != 'STARTING' )&#xA;begin&#xA;    sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATUS_INFO = \'Tried to run job, but it is not in a runnable state.\' &#xA;         where MD_PROCESS_ID = {$p_process_id}');&#xA;    raise_exception('ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)');&#xA;end&#xA;&#xA;if ($l_job_name != job_name() )&#xA;begin&#xA;   # sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATUS_INFO = \'This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run ($l_job_name).\' &#xA;   #      where MD_PROCESS_ID = {$p_process_id}');&#xA;    raise_exception('ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (' || $l_job_name || ').');&#xA;end&#xA;&#xA;# now flag the job as running&#xD;&#xA;#sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;#JOB_NAME = {job_name()}, START_TIME = convert(datetime,{$l_job_start_date},111)&#xA;#where MD_PROCESS_ID = {$p_process_id}');&#xA;sql('DW_ABC_DS','update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}');&#xA;&#xA;set_env( 'ETL_DEBUG_MODE', $p_debug_mode );&#xA;set_env( 'ETL_BATCH_ID', $p_batch_id);&#xA;set_env( 'ETL_PROCESS_ID', $p_process_id );&#xA;if ( is_set_env( 'ETL_TRACE_LEVEL' ) != 1 )&#xA;begin&#xA;&#x9;set_env( 'ETL_TRACE_LEVEL', 'ALL' );&#xA;end&#xA;&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '********************************' );&#xA;ETL_PRINT( '** The Job {job_name()} is starting' || ifthenelse((get_env('ETL_DEBUG_MODE') = '1'), ' in Debug mode', '') || '.');&#xA;ETL_PRINT( '**' );&#xA;ETL_PRINT( '**' );&#xA;&#xA;return (5);&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN_OUT" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$p_debug_mode" datatype="INT" >
</DIElement>
<DIElement paramType="OUT" name="$p_batch_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_previous_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_sqltext" datatype="VARCHAR" size="80" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_start_date" datatype="DATETIME" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_state" datatype="VARCHAR" size="30" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_name" datatype="VARCHAR" size="60" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_job_start_date_vchar" datatype="VARCHAR" size="25" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="DATETIME" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$l_job_start_date" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select getdate()')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select getdate()" datatype="VARCHAR" size="16" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_job_start_date_vchar" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="select convert(varchar(25),convert(datetime,{$l_job_start_date},111),127)" datatype="VARCHAR" size="73" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('l_job_start_date_vchar = ' || $l_job_start_date_vchar))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="l_job_start_date_vchar = " datatype="VARCHAR" size="25" />
<VARIABLE_REFERENCE name="$l_job_start_date_vchar" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(($p_debug_mode IS  NULL ) OR&#xA;   ( not ($p_debug_mode = 1)))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_debug_mode" />
</LOGICAL_OP>
<LOGICAL_OP op="NOT">
<LOGICAL_OP op="EQ">
<VARIABLE_REFERENCE name="$p_debug_mode" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="ERROR: $G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1" datatype="VARCHAR" size="98" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception('$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1')" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONSTANT value="$G_PROCESS_ID is not set. If you want to run manually the job, you must set $G_DEBUG_MODE=1" datatype="VARCHAR" size="91" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIAssignmentStep typeId="12" variable="$p_batch_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT MD_BATCH_ID FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="80" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_batch_id IS  NULL )" >
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$p_batch_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('ERROR: Process ' || $p_process_id) || ' not found in STEP_RUNTIME table.'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: Process " datatype="VARCHAR" size="15" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" not found in STEP_RUNTIME table." datatype="VARCHAR" size="33" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((('process ' || $p_process_id) || ' is not found in STEP_RUNTIME table.'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="process " datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" is not found in STEP_RUNTIME table." datatype="VARCHAR" size="36" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
</DIIf>
<DIElse>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($p_process_id IS NOT  NULL )" >
<LOGICAL_OP op="IS NOT NULL">
<VARIABLE_REFERENCE name="$p_process_id" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode) || ' but $G_PROCESS_ID is not null (set to ') || $p_process_id) || '). In debug mode Process ID will be allocated by the job and cannot be specified'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: abC usage error detected : $G_DEBUG_MODE is set to " datatype="VARCHAR" size="58" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</CONCAT>
<CONSTANT value=" but $G_PROCESS_ID is not null (set to " datatype="VARCHAR" size="39" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value="). In debug mode Process ID will be allocated by the job and cannot be specified" datatype="VARCHAR" size="80" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((((('ERROR: abC usage error detected : $G_DEBUG_MODE is set to ' || $p_debug_mode) || ' but $G_PROCESS_ID is not null (set to ') || $p_process_id) || '). in debug mode Process ID will be allocated by the system and cannot be specified'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: abC usage error detected : $G_DEBUG_MODE is set to " datatype="VARCHAR" size="58" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</CONCAT>
<CONSTANT value=" but $G_PROCESS_ID is not null (set to " datatype="VARCHAR" size="39" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value="). in debug mode Process ID will be allocated by the system and cannot be specified" datatype="VARCHAR" size="83" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, \'MANUAL\', \'STARTING\')')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_RT (JOB_NAME, START_TIME, STEP_OWNER, STATE) &#xA;                     VALUES ({job_name()},{$l_job_start_date_vchar}, 'MANUAL', 'STARTING')" datatype="VARCHAR" size="164" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$p_process_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = \'MANUAL\' AND STATE =  \'STARTING\' ')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT MD_PROCESS_ID from JOB_STREAM_STEP_RT where JOB_NAME = {job_name()} AND START_TIME = {$l_job_start_date_vchar} AND STEP_OWNER = 'MANUAL' AND STATE =  'STARTING' " datatype="VARCHAR" size="168" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('After manual launch, the assigned Process ID is: ' || $p_process_id))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="After manual launch, the assigned Process ID is: " datatype="VARCHAR" size="49" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$p_batch_id" >
<DIExpression isString="true" expr="0" >
<CONSTANT value="0" datatype="INT" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('Process ' || $p_process_id) || ' retrieved $p_batch_id = {$p_batch_id}'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="Process " datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$p_process_id" />
</CONCAT>
<CONSTANT value=" retrieved $p_batch_id = {$p_batch_id}" datatype="VARCHAR" size="38" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_state" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT STATE FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="74" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$l_job_name" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="SELECT JOB_NAME FROM JOB_STREAM_STEP_RT where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="77" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_state != 'STARTING')" >
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$l_state" />
<CONSTANT value="STARTING" datatype="VARCHAR" size="8" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT set STATUS_INFO = \'Tried to run job, but it is not in a runnable state.\' &#xA;         where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT set STATUS_INFO = 'Tried to run job, but it is not in a runnable state.' &#xA;         where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="146" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception('ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)')" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONSTANT value="ERROR: This job is not in a runnable state. This may come from Web Service timeout, the job will not execute and a new one will be trigered by ABC (if not already done)" datatype="VARCHAR" size="168" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($l_job_name != job_name())" >
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$l_job_name" />
<FUNCTION_CALL name="job_name"  type="DI" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="raise_exception((('ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (' || $l_job_name) || ').'))" >
<FUNCTION_CALL name="raise_exception"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="ERROR: This job, {job_name()}, does not match the JOB_NAME of the step you are trying to run (" datatype="VARCHAR" size="94" />
<VARIABLE_REFERENCE name="$l_job_name" />
</CONCAT>
<CONSTANT value=")." datatype="VARCHAR" size="2" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'update JOB_STREAM_STEP_RT set STATE = \'RUNNING\',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="update JOB_STREAM_STEP_RT set STATE = 'RUNNING',&#xA;JOB_NAME = {job_name()}, START_TIME = {$l_job_start_date_vchar}&#xA;where MD_PROCESS_ID = {$p_process_id}" datatype="VARCHAR" size="150" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_DEBUG_MODE', $p_debug_mode)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_DEBUG_MODE" datatype="VARCHAR" size="14" />
<VARIABLE_REFERENCE name="$p_debug_mode" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_BATCH_ID', $p_batch_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
<VARIABLE_REFERENCE name="$p_batch_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_PROCESS_ID', $p_process_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
<VARIABLE_REFERENCE name="$p_process_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_TRACE_LEVEL') != 1)" >
<LOGICAL_OP op="NE">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env('ETL_TRACE_LEVEL', 'ALL')" >
<FUNCTION_CALL name="set_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
<CONSTANT value="ALL" datatype="VARCHAR" size="3" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
</DIIfStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="********************************" datatype="VARCHAR" size="32" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((('** The Job {job_name()} is starting' || ifthenelse((get_env('ETL_DEBUG_MODE') = '1'), ' in Debug mode', '')) || '.'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONSTANT value="** The Job {job_name()} is starting" datatype="VARCHAR" size="35" />
<FUNCTION_CALL name="ifthenelse"  type="DI" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_DEBUG_MODE" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="VARCHAR" size="1" />
</LOGICAL_OP>
<CONSTANT value=" in Debug mode" datatype="VARCHAR" size="14" />
<CONSTANT value="" datatype="VARCHAR" size="0" />
</FUNCTION_CALL>
</CONCAT>
<CONSTANT value="." datatype="VARCHAR" size="1" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('**')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="**" datatype="VARCHAR" size="2" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr="5" >
<CONSTANT value="5" datatype="INT" />
</DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ABC_STARTWF_FN" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ********************************' );&#xA;ETL_PRINT( '        ** The workflow [workflow_name()] is starting' );&#xA;ETL_PRINT( '        **   user: ' || system_user_name() );&#xA;ETL_PRINT( '        **   detail name: ' || $p_detailname );&#xA;&#xA;# DELETE EXISTING WORKFLOW RECORD&#xA;#sql('DW_ABC_DS','delete from RDS_DBA.WFEXECUTION_DW&#xA;#where APPNAME = {$p_appname} AND JOBNAME = {job_name()} AND WFNAME = {workflow_name()}&#xA;#AND TARGET_TABLE = {$l_single_tablename}');&#xA;&#xA;# GET MAX_ID FROM THE WFEXECUTION_DW TABLE&#xA;#$job_ maxkey = sql('DW_ABC_DS', 'SELECT MAX(JOB_ID) FROM RDS_DBA.ETLSYNC_DW');&#xA;#$maxkey = $maxkey + 1;&#xA;&#xA;# INSERT WORKFLOW RECORD&#x9;&#x9;&#xD;&#xA;&#xA;#$l_stepdetail_id = sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;#                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;#                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', {sysdate()});&#xA;#&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID');&#xA;$l_stepdetail_id = sql('DW_ABC_DS','insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID');&#x9;&#xA;&#xA;set_env(workflow_name(), $l_stepdetail_id);&#xA;&#xA;# print('single_tablename = ' || $l_single_tablename);&#x9;   &#x9;&#xA;&#xA;return null;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_detailname" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="IN" name="$p_process_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_stepdetail_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ********************************')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ********************************" datatype="VARCHAR" size="40" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print('        ** The workflow [workflow_name()] is starting')" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONSTANT value="        ** The workflow [workflow_name()] is starting" datatype="VARCHAR" size="53" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   user: ' || system_user_name()))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   user: " datatype="VARCHAR" size="19" />
<FUNCTION_CALL name="system_user_name"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('        **   detail name: ' || $p_detailname))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="        **   detail name: " datatype="VARCHAR" size="26" />
<VARIABLE_REFERENCE name="$p_detailname" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$l_stepdetail_id" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', 'insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, \'RUNNING\', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID')" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<CONSTANT value="insert into JOB_STREAM_STEP_DETAIL_RT &#xA;                (MD_PROCESS_ID, DETAIL_NAME, STATUS, START_TIME)  &#xA;                VALUES ({$p_process_id}, {$p_detailname}, 'RUNNING', convert(varchar(25),convert(datetime,getdate(),111),127));&#xA;&#x9;&#x9;&#x9;&#x9;SELECT SCOPE_IDENTITY() AS NewStepDetailID" datatype="VARCHAR" size="280" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="set_env(workflow_name(), $l_stepdetail_id)" >
<FUNCTION_CALL name="set_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$l_stepdetail_id" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="ETL_PRINT" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="# 1/2 Retrieve contextual information from the environment&#xA;if ( is_set_env( 'ETL_BATCH_ID' ) = 1 )&#xA;begin&#xA;&#x9;$l_batch_id = get_env( 'ETL_BATCH_ID' );&#xA;end&#xA;else&#xA;begin&#xA;&#x9;$l_batch_id = '-';&#xA;end&#xA;&#xA;if ( is_set_env( 'ETL_PROCESS_ID' ) = 1 )&#xA;begin&#xA;&#x9;$l_process_id = get_env( 'ETL_PROCESS_ID' );&#x9;&#xA;end&#xA;else&#xA;begin&#xA;&#x9;$l_process_id = '-';&#x9;&#xA;end&#xA;&#xA;# 2/2 Really print&#xA;if ( get_env('ETL_TRACE_LEVEL') = 'ALL' )&#xA;begin&#xA;&#x9;if ( is_set_env( workflow_name() ) = 1 )&#xA;&#x9;begin&#xA;&#x9;&#x9;$l_stepdetail_id = get_env( workflow_name() );&#xA;&#x9;&#x9;print( '\[Batch:' || $l_batch_id || '\] \[Proc:' || $l_process_id || '\] \[Detail:' || $l_stepdetail_id || '\] ' || $p_MESSAGE );&#xA;&#x9;end&#xA;&#x9;else&#xA;&#x9;begin&#xA;    &#x9;print( '\[Batch:' || $l_batch_id || '\] \[Proc:' || $l_process_id || '\] ' || $p_MESSAGE );&#xA;&#x9;end&#xA;end&#xA;&#xA;return null;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Description" value="This function is internal and should NOT be used by application developers.&#xA;&#xA;This function prints the parameter message to the logs with contextual information (batch id, process id) as set by the ABC_STARTJB_FN function.&#xA;&#xA;This trace file is currently the standard Data Services trace file. for instance: C:\Program Files\Business Objects\BusinessObjects Data Services\log\tracelog.txt"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$p_MESSAGE" datatype="VARCHAR" size="256" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$l_batch_id" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_process_id" datatype="INT" >
</DIElement>
<DIElement paramType="LOCAL" name="$l_stepdetail_id" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="INT" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_BATCH_ID') = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_batch_id" >
<DIExpression isString="true" expr="get_env('ETL_BATCH_ID')" >
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_BATCH_ID" datatype="VARCHAR" size="12" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_batch_id" >
<DIExpression isString="true" expr="'-'" >
<CONSTANT value="-" datatype="VARCHAR" size="1" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env('ETL_PROCESS_ID') = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_process_id" >
<DIExpression isString="true" expr="get_env('ETL_PROCESS_ID')" >
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_PROCESS_ID" datatype="VARCHAR" size="14" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$l_process_id" >
<DIExpression isString="true" expr="'-'" >
<CONSTANT value="-" datatype="VARCHAR" size="1" />
</DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(get_env('ETL_TRACE_LEVEL') = 'ALL')" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="get_env"  type="DI" >
<CONSTANT value="ETL_TRACE_LEVEL" datatype="VARCHAR" size="15" />
</FUNCTION_CALL>
<CONSTANT value="ALL" datatype="VARCHAR" size="3" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="(is_set_env(workflow_name()) = 1)" >
<LOGICAL_OP op="EQ">
<FUNCTION_CALL name="is_set_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</FUNCTION_CALL>
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$l_stepdetail_id" >
<DIExpression isString="true" expr="get_env(workflow_name())" >
<FUNCTION_CALL name="get_env"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="print(((((((('\\[Batch:' || $l_batch_id) || '\\] \\[Proc:') || $l_process_id) || '\\] \\[Detail:') || $l_stepdetail_id) || '\\] ') || $p_MESSAGE))" >
<FUNCTION_CALL name="print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="\[Batch:" datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$l_batch_id" />
</CONCAT>
<CONSTANT value="\] \[Proc:" datatype="VARCHAR" size="10" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_process_id" />
</CONCAT>
<CONSTANT value="\] \[Detail:" datatype="VARCHAR" size="12" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_stepdetail_id" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_MESSAGE" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIIf>
<DIElse>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="print(((((('\\[Batch:' || $l_batch_id) || '\\] \\[Proc:') || $l_process_id) || '\\] ') || $p_MESSAGE))" >
<FUNCTION_CALL name="print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="\[Batch:" datatype="VARCHAR" size="8" />
<VARIABLE_REFERENCE name="$l_batch_id" />
</CONCAT>
<CONSTANT value="\] \[Proc:" datatype="VARCHAR" size="10" />
</CONCAT>
<VARIABLE_REFERENCE name="$l_process_id" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<VARIABLE_REFERENCE name="$p_MESSAGE" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIElse>
</DIIfStep>
</DIIf>
<DIElse>
</DIElse>
</DIIfStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="FBI_GET_FILELOCATION" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#this function takes  the target directory for the files&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;# lookup for location&#xD;&#xA; $L_FILE_LOCATION =  lookup_ext([DW_METADATA_DS.DW_METADATA_ALIAS.FILE_LOCATION_INFO, 'PRE_LOAD_CACHE', 'MAX'], &#xD;&#xA;                               [ FILE_LOCATION ], &#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;   [ NULL ], &#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;   [ SOURCE, '=', $P_PRODUCT_NAME ]) &#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;SET(&quot;run_as_separate_process&quot; = 'no');&#xD;&#xA;&#xD;&#xA;# return value&#xD;&#xA;return  $L_FILE_LOCATION;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Description" value="this function get the target directory for the files from file_location_info"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$P_PRODUCT_NAME" datatype="VARCHAR" size="50" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$L_FILE_LOCATION" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="VARCHAR" size="200" />
<DISteps>
<DIAssignmentStep typeId="12" variable="$L_FILE_LOCATION" >
<DIExpression isString="true" expr="lookup_ext([DW_METADATA_DS.DW_METADATA_ALIAS.FILE_LOCATION_INFO, 'PRE_LOAD_CACHE', 'MAX'], [ FILE_LOCATION ], [  NULL  ], [ SOURCE, '=', $P_PRODUCT_NAME ]) &#xA;SET(&quot;run_as_separate_process&quot; = 'no')&#xA;" >
<FUNCTION_CALL name="lookup_ext"  type="DI" tableDatastore="DW_METADATA_DS" tableOwner="DW_METADATA_ALIAS" tableName="FILE_LOCATION_INFO" >
<CONSTANT value="PRE_LOAD_CACHE" datatype="VARCHAR" size="14" />
<CONSTANT value="MAX" datatype="VARCHAR" size="3" />
<VARIABLE_REFERENCE name="$P_PRODUCT_NAME" />
<CONSTANT_NULL /><DIAttributes>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr="$L_FILE_LOCATION" >
<VARIABLE_REFERENCE name="$L_FILE_LOCATION" />
</DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="M_ICPS_GET_MAX_WF_PROCESS_ID" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#this function returns the max process id for a given workflow&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;if ($P_BATCH_ID &gt; 0 )&#xD;&#xA;&#x9;begin&#xD;&#xA;&#x9;&#x9;$L_SQL = 'SELECT MAX (sd.MD_PROCESS_ID) FROM dwabc.JOB_STREAM_STEP_DETAIL_RT sd where sd.DETAIL_NAME = \''||$P_WF_NAME||'\' and sd.MD_PROCESS_ID in  (SELECT MD_PROCESS_ID FROM dwabc.JOB_STREAM_STEP_RT s WHERE s.MD_BATCH_ID='||$P_BATCH_ID ||' and s.JOB_NAME = \''||$P_JOB_NAME ||'\' )  ';&#xA;&#x9;&#x9;$L_LAST_ProcessID  = sql('DW_ABC_DS',$L_SQL);&#xD;&#xA;&#x9;end&#xD;&#xA;&#xD;&#xA;# RETURN VALUE&#xD;&#xA;return   $L_LAST_ProcessID;&#xD;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Description" value="this function takes last status per batch over WF"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$P_BATCH_ID" datatype="INT" >
</DIElement>
<DIElement paramType="IN" name="$P_WF_NAME" datatype="VARCHAR" size="50" >
</DIElement>
<DIElement paramType="IN" name="$P_JOB_NAME" datatype="VARCHAR" size="50" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$L_LAST_ProcessID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_SQL" datatype="VARCHAR" size="600" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="VARCHAR" size="200" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($P_BATCH_ID &gt; 0)" >
<LOGICAL_OP op="GT">
<VARIABLE_REFERENCE name="$P_BATCH_ID" />
<CONSTANT value="0" datatype="INT" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$L_SQL" >
<DIExpression isString="true" expr="(((((('SELECT MAX (sd.MD_PROCESS_ID) FROM dwabc.JOB_STREAM_STEP_DETAIL_RT sd where sd.DETAIL_NAME = \'' || $P_WF_NAME) || '\' and sd.MD_PROCESS_ID in  (SELECT MD_PROCESS_ID FROM dwabc.JOB_STREAM_STEP_RT s WHERE s.MD_BATCH_ID=') || $P_BATCH_ID) || ' and s.JOB_NAME = \'') || $P_JOB_NAME) || '\' )  ')" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="SELECT MAX (sd.MD_PROCESS_ID) FROM dwabc.JOB_STREAM_STEP_DETAIL_RT sd where sd.DETAIL_NAME = '" datatype="VARCHAR" size="94" />
<VARIABLE_REFERENCE name="$P_WF_NAME" />
</CONCAT>
<CONSTANT value="' and sd.MD_PROCESS_ID in  (SELECT MD_PROCESS_ID FROM dwabc.JOB_STREAM_STEP_RT s WHERE s.MD_BATCH_ID=" datatype="VARCHAR" size="101" />
</CONCAT>
<VARIABLE_REFERENCE name="$P_BATCH_ID" />
</CONCAT>
<CONSTANT value=" and s.JOB_NAME = '" datatype="VARCHAR" size="19" />
</CONCAT>
<VARIABLE_REFERENCE name="$P_JOB_NAME" />
</CONCAT>
<CONSTANT value="' )  " datatype="VARCHAR" size="5" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LAST_ProcessID" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', $L_SQL)" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<VARIABLE_REFERENCE name="$L_SQL" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
</DIIfStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr="$L_LAST_ProcessID" >
<VARIABLE_REFERENCE name="$L_LAST_ProcessID" />
</DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIScriptFunction name="M_ICPS_GET_WF_STATUS" typeId="11" >
<DIUIOptions>
<DIAttribute name="ui_script_text" value="#this function takes last status for run extract batch&#xD;&#xA;&#xD;&#xA;if ($P_MAX_PROCESS_ID is not null)&#xD;&#xA;begin&#xA;&#x9;$L_SQL = 'select status from dwabc.JOB_STREAM_STEP_DETAIL_RT where MD_PROCESS_ID = {$P_MAX_PROCESS_ID} and  DETAIL_NAME = {$L_WF_NAME}';&#xA;&#x9;$L_LAST_STATUS  = sql('DW_ABC_DS',$L_SQL);&#x9;&#xA;end&#xD;&#xA;else &#xD;&#xA;begin&#xA;&#x9;$L_LAST_STATUS=null;&#xA;end&#xD;&#xA;&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;# return value&#xD;&#xA;return   $L_LAST_STATUS;&#xD;&#xA;"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="Acta_user_func_category" value="User_Script_Function"/>
<DIAttribute name="Description" value="this function takes last status per batch over WF"/>
<DIAttribute name="Parallelizable" value="no"/>
<DIAttribute name="isScriptValidationFunction" value="no"/>
</DIProperties>
<DIParameters><DIElement paramType="IN" name="$P_MAX_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="IN" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DIVariables><DIElement paramType="LOCAL" name="$L_LAST_STATUS" datatype="VARCHAR" size="100" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_SQL" datatype="VARCHAR" size="600" >
</DIElement>
</DIVariables>
<DIFunctionReturn datatype="VARCHAR" size="200" />
<DISteps>
<DIIfStep typeId="2" >
<DIExpression isString="true" expr="($P_MAX_PROCESS_ID IS NOT  NULL )" >
<LOGICAL_OP op="IS NOT NULL">
<VARIABLE_REFERENCE name="$P_MAX_PROCESS_ID" />
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DIAssignmentStep typeId="12" variable="$L_SQL" >
<DIExpression isString="true" expr="'select status from dwabc.JOB_STREAM_STEP_DETAIL_RT where MD_PROCESS_ID = {$P_MAX_PROCESS_ID} and  DETAIL_NAME = {$L_WF_NAME}'" >
<CONSTANT value="select status from dwabc.JOB_STREAM_STEP_DETAIL_RT where MD_PROCESS_ID = {$P_MAX_PROCESS_ID} and  DETAIL_NAME = {$L_WF_NAME}" datatype="VARCHAR" size="124" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LAST_STATUS" >
<DIExpression isString="true" expr="sql('DW_ABC_DS', $L_SQL)" >
<FUNCTION_CALL name="sql"  type="DI" >
<CONSTANT value="DW_ABC_DS" datatype="VARCHAR" size="9" />
<VARIABLE_REFERENCE name="$L_SQL" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
</DIIf>
<DIElse>
<DIAssignmentStep typeId="12" variable="$L_LAST_STATUS" >
<DIExpression isString="true" expr=" NULL " >
<CONSTANT_NULL /></DIExpression>
</DIAssignmentStep>
</DIElse>
</DIIfStep>
<DIReturnStep typeId="30" >
<DIExpression isString="true" expr="$L_LAST_STATUS" >
<VARIABLE_REFERENCE name="$L_LAST_STATUS" />
</DIExpression>
</DIReturnStep>
</DISteps>
</DIScriptFunction>
<DIJob name="PPM_TSNP_JB" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PPM_TSNP_JB (version 0.13.0-SNAPSHOT)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Fri, 23 Jan 2009 10:49:09"/>
<DIAttribute name="Description" value="The transactional snapshot (PPM_TSNP) is a data layer that contains a version of the source data.  The data exists in the state the source was in at the beginning of the previous cycle of execution."/>
<DIAttribute name="Web_Service_Enabled" value="YES"/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_SOURCE_FILELOCATION" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_ARCHIVE_FILELOCATION" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_BATCH_FILE" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_ARCHIVE_BATCH_STATUS" datatype="VARCHAR" size="400" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_DEBUG_MODE" datatype="INT" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_TRACE_MODE" datatype="INT" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_FLAG_DELETE" datatype="VARCHAR" size="6" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_FLAG_UPDATE" datatype="VARCHAR" size="6" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_FLAG_NEW" datatype="VARCHAR" size="6" >
</DIElement>
<DIElement paramType="GLOBAL" name="$G_MD_NON_PREFILL_FLAG" datatype="VARCHAR" size="1" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ui_display_name" value="PPM_TSNP_JB_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="STARTJB_SC is used to set global variables and initiates the metadata tracking for the Job"/>
<DIAttribute name="ui_display_name" value="STARTJB_SC"/>
<DIAttribute name="ui_script_text" value="ABC_STARTJB_FN($G_PROCESS_ID, $G_DEBUG_MODE, $G_BATCH_ID);&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startjb_fn($G_PROCESS_ID, $G_DEBUG_MODE, $G_BATCH_ID)" >
<FUNCTION_CALL name="abc_startjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_TSNP_CONTAINER_WF" >
</DICallStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="ENDJB_SC concludes the metadata for the Job and Adds final Entries into the ABC Tracking system"/>
<DIAttribute name="ui_display_name" value="ENDJB_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;&#xD;&#xA;$L_SOURCE_FILELOCATION = FBI_GET_FILELOCATION('PPM' ) ;&#xD;&#xA;$L_ARCHIVE_FILELOCATION =  FBI_GET_FILELOCATION(  'EXTERNAL_ARCHIVE' ) ;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;               $L_BATCH_FILE = 'call %BTOA_HOME%\\DataWarehouse\\bin\\dw_archive_data_file.bat -processid '||$G_PROCESS_ID||'  -batchid '||$G_BATCH_ID||' -source '||$L_SOURCE_FILELOCATION ||' -destination '|| $L_ARCHIVE_FILELOCATION  ;&#xD;&#xA;               ETL_PRINT( 'L_BATCH_FILE &gt;&gt;&gt; archive command is &gt;&gt;&gt;&gt;&gt;&gt; ' || $L_BATCH_FILE);&#xD;&#xA;               $L_ARCHIVE_BATCH_STATUS = exec('CMD', $L_BATCH_FILE ,8);&#xD;&#xA;               ETL_PRINT( 'ARCHIVE OPERATION ENDED WITH STATUS : ' || $L_ARCHIVE_BATCH_STATUS);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_ENDJB_FN($G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_SOURCE_FILELOCATION" >
<DIExpression isString="true" expr="fbi_get_filelocation('PPM')" >
<FUNCTION_CALL name="fbi_get_filelocation"  type="DI" >
<CONSTANT value="PPM" datatype="VARCHAR" size="3" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_ARCHIVE_FILELOCATION" >
<DIExpression isString="true" expr="fbi_get_filelocation('EXTERNAL_ARCHIVE')" >
<FUNCTION_CALL name="fbi_get_filelocation"  type="DI" >
<CONSTANT value="EXTERNAL_ARCHIVE" datatype="VARCHAR" size="16" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_BATCH_FILE" >
<DIExpression isString="true" expr="((((((('call %BTOA_HOME%\\DataWarehouse\\bin\\dw_archive_data_file.bat -processid ' || $G_PROCESS_ID) || '  -batchid ') || $G_BATCH_ID) || ' -source ') || $L_SOURCE_FILELOCATION) || ' -destination ') || $L_ARCHIVE_FILELOCATION)" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="call %BTOA_HOME%\DataWarehouse\bin\dw_archive_data_file.bat -processid " datatype="VARCHAR" size="71" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</CONCAT>
<CONSTANT value="  -batchid " datatype="VARCHAR" size="11" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" -source " datatype="VARCHAR" size="9" />
</CONCAT>
<VARIABLE_REFERENCE name="$L_SOURCE_FILELOCATION" />
</CONCAT>
<CONSTANT value=" -destination " datatype="VARCHAR" size="14" />
</CONCAT>
<VARIABLE_REFERENCE name="$L_ARCHIVE_FILELOCATION" />
</CONCAT>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('L_BATCH_FILE &gt;&gt;&gt; archive command is &gt;&gt;&gt;&gt;&gt;&gt; ' || $L_BATCH_FILE))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="L_BATCH_FILE &gt;&gt;&gt; archive command is &gt;&gt;&gt;&gt;&gt;&gt; " datatype="VARCHAR" size="43" />
<VARIABLE_REFERENCE name="$L_BATCH_FILE" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIAssignmentStep typeId="12" variable="$L_ARCHIVE_BATCH_STATUS" >
<DIExpression isString="true" expr="exec('CMD', $L_BATCH_FILE, 8)" >
<FUNCTION_CALL name="exec"  type="DI" >
<CONSTANT value="CMD" datatype="VARCHAR" size="3" />
<VARIABLE_REFERENCE name="$L_BATCH_FILE" />
<CONSTANT value="8" datatype="INT" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print(('ARCHIVE OPERATION ENDED WITH STATUS : ' || $L_ARCHIVE_BATCH_STATUS))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONSTANT value="ARCHIVE OPERATION ENDED WITH STATUS : " datatype="VARCHAR" size="38" />
<VARIABLE_REFERENCE name="$L_ARCHIVE_BATCH_STATUS" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endjb_fn($G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ui_display_name" value="PPM_TSNP_JB_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="PPM_TSNP_JB_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILJB_FN($G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failjb_fn($G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failjb_fn"  type="DI" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="job_GV_$G_FLAG_DELETE" value="'DEL'"/>
<DIAttribute name="job_GV_$G_FLAG_NEW" value="'NEW'"/>
<DIAttribute name="job_GV_$G_FLAG_UPDATE" value="'UPD'"/>
<DIAttribute name="job_GV_$G_MD_NON_PREFILL_FLAG" value="'D'"/>
<DIAttribute name="job_checkpoint_enabled" value="no"/>
<DIAttribute name="job_collect_statistics" value="no"/>
<DIAttribute name="job_collect_statistics_monitor" value="no"/>
<DIAttribute name="job_enable_assemblers" value="yes"/>
<DIAttribute name="job_enable_audit" value="yes"/>
<DIAttribute name="job_enable_dataquality" value="yes"/>
<DIAttribute name="job_export_repo" value="no"/>
<DIAttribute name="job_export_reports" value="no"/>
<DIAttribute name="job_isrecoverable" value="no"/>
<DIAttribute name="job_mode" value="Multi-Process"/>
<DIAttribute name="job_monitor_sample_rate" value="1000"/>
<DIAttribute name="job_name" value="PPM_TSNP_JB"/>
<DIAttribute name="job_print_version" value="no"/>
<DIAttribute name="job_testmode_enabled" value="no"/>
<DIAttribute name="job_trace_abapquery" value="no"/>
<DIAttribute name="job_trace_all" value="no"/>
<DIAttribute name="job_trace_ascomm" value="no"/>
<DIAttribute name="job_trace_assemblers" value="no"/>
<DIAttribute name="job_trace_audit" value="no"/>
<DIAttribute name="job_trace_dataflow" value="yes"/>
<DIAttribute name="job_trace_idoc_file" value="no"/>
<DIAttribute name="job_trace_memory_loader" value="no"/>
<DIAttribute name="job_trace_memory_reader" value="no"/>
<DIAttribute name="job_trace_optimized_dataflow" value="no"/>
<DIAttribute name="job_trace_parallel_execution" value="no"/>
<DIAttribute name="job_trace_rfc_function" value="no"/>
<DIAttribute name="job_trace_row" value="no"/>
<DIAttribute name="job_trace_script" value="no"/>
<DIAttribute name="job_trace_session" value="yes"/>
<DIAttribute name="job_trace_sql_only" value="no"/>
<DIAttribute name="job_trace_sqlfunctions" value="no"/>
<DIAttribute name="job_trace_sqlloaders" value="no"/>
<DIAttribute name="job_trace_sqlreaders" value="no"/>
<DIAttribute name="job_trace_sqltransforms" value="no"/>
<DIAttribute name="job_trace_stored_procedure" value="no"/>
<DIAttribute name="job_trace_table" value="no"/>
<DIAttribute name="job_trace_table_reader" value="no"/>
<DIAttribute name="job_trace_transform" value="no"/>
<DIAttribute name="job_trace_userfunction" value="no"/>
<DIAttribute name="job_trace_usertransform" value="no"/>
<DIAttribute name="job_trace_workflow" value="yes"/>
<DIAttribute name="job_type" value="batch"/>
<DIAttribute name="job_use_statistics" value="yes"/>
<DIAttribute name="locale_codepage" value="&lt;default&gt;"/>
<DIAttribute name="locale_language" value="&lt;default&gt;"/>
<DIAttribute name="locale_territory" value="&lt;default&gt;"/>
</DIAttributes>
</DIJob>
<DIWorkflow name="PPM_TSNP_CONTAINER_WF" typeId="2" >
<DIProperties>
<DIAttribute name="Description" value="Developer: John Monfort&#xA;Date: 5/15/2008&#xA;Description: This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables."/>
</DIProperties>
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_TSNP_CUSTOM_CONT_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_TSNP_GEN_CONT_WF" >
</DICallStep>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="PPM_TSNP_CUSTOM_CONT_WF" typeId="2" >
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="PPM_TSNP_GEN_CONT_WF" typeId="2" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="This workflow is a container for the entities concerned by the SSNP ETL Step"/>
</DIAnnotation></DIUIOptions>
<DIProperties>
<DIAttribute name="Description" value="This workflow is a container for the entities concerned by the SSNP ETL Step. It integrates the following entities:&#xD;&#xA;  - ACTUALCOST (version 1)&#xD;&#xA;  - EXCHANGE (version 1)&#xD;&#xA;  - LOCATION (version 1)&#xD;&#xA;  - ORG (version 1)&#xD;&#xA;  - PERSON (version 1)&#xD;&#xA;  - PRJOBJECTIVE (version 1)&#xD;&#xA;  - PROGRAM (version 1)&#xD;&#xA;  - PROJECT (version 1)&#xD;&#xA;  - PROJECTISSUE (version 1)&#xD;&#xA;  - PROJECTTASK (version 1)&#xD;&#xA;  - REQUEST (version 1)&#xD;&#xA;  - REQUEST_DETAIL_PLHD (version 1)&#xD;&#xA;  - REQUEST_HEADER_PLHD (version 1)&#xD;&#xA;  - REQUEST_TYPE_UD_PLHD (version 1)&#xD;&#xA;  - REQUEST_USERDATA_PLHD (version 1)&#xD;&#xA;"/>
</DIProperties>
<DISteps>
<DIParallelStep typeId="11" >
<DISteps>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_FG_PFM_ASSET_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_BUDGETS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_BUDGET_LINES_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_BUDGET_LNK_ENT_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_BUDG_LINE_CELLS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_BUDG_PERIOD_SUM_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_CURRENCY_CELLS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCST_CURRENCY_LINES_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_FM_EXCHANGE_RATES_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KNTA_REGIONS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KRSC_ORG_UNITS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KNTA_USERS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KPMO_BUS_OBJ_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_PGM_PROGRAMS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_FG_PFM_PROJECT_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_PM_PROJECTS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_PM_PROJECT_TYPES_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_REQUEST_DETAILS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_WP_TASKS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_REQUESTS_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_KCRT_REQ_HEADER_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_REQUEST_TYPE_UD_PLHD_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_WF" >
</DICallStep>
<DICallStep typeId="0"  calledObjectType="Workflow" name="PPM_REQUEST_USERDATA_PLHD_TSNP_WF" >
</DICallStep>
</DISteps>
</DIParallelStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIWorkflow name="PPM_KCRT_FG_PFM_ASSET_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_FG_PFM_ASSET_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_FG_PFM_ASSET_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_ASSET_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_FG_PFM_ASSET_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSET_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ASSET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.AST_PRJ_MGR_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ASSET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ASSET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.AST_PRJ_MGR_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="AST_PRJ_MGR_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSET_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ASSET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.AST_PRJ_MGR_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ASSET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ASSET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.AST_PRJ_MGR_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="AST_PRJ_MGR_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSET_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ASSET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.AST_PRJ_MGR_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ASSET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ASSET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.AST_PRJ_MGR_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="AST_PRJ_MGR_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_FG_PFM_ASSET_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_FG_PFM_ASSET_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSET_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.ASSET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="AST_PRJ_MGR_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.AST_PRJ_MGR_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_ASSET_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.ASSET_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="ASSET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.AST_PRJ_MGR_USER_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="AST_PRJ_MGR_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_ASSET_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_FG_PFM_ASSET_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_FG_PFM_ASSET_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_ASSET_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_ASSET_EXT" >
<DIOutputView name="PPM_KCRT_FG_PFM_ASSET_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_ASSET_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_FG_PFM_ASSET_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_ASSET_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_FG_PFM_ASSET_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_BUDGETS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_BUDGETS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_BUDGETS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGETS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_BUDGETS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUDGET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="250" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINANCIAL_SUMMARY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUDGET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUDGET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINANCIAL_SUMMARY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINANCIAL_SUMMARY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUDGET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="250" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINANCIAL_SUMMARY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUDGET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUDGET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINANCIAL_SUMMARY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINANCIAL_SUMMARY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUDGET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="250" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINANCIAL_SUMMARY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUDGET_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUDGET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINANCIAL_SUMMARY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINANCIAL_SUMMARY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_BUDGETS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_BUDGETS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.BUDGET_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="250" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_SUMMARY_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.FINANCIAL_SUMMARY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGETS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.BUDGET_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="BUDGET_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.FINANCIAL_SUMMARY_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="FINANCIAL_SUMMARY_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGETS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_BUDGETS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_BUDGETS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGETS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGETS_EXT" >
<DIOutputView name="PPM_KCST_BUDGETS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGETS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGETS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGETS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGETS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_BUDGET_LINES_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_BUDGET_LINES_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_BUDGET_LINES_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LINES_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_BUDGET_LINES_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.EXPENSE_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.LABOR_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="OCFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.OCFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FORECAST_ACTUAL_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.EXPENSE_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="EXPENSE_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.LABOR_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="LABOR_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.OCFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="OCFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FORECAST_ACTUAL_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FORECAST_ACTUAL_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.EXPENSE_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.LABOR_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="OCFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.OCFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FORECAST_ACTUAL_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.EXPENSE_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="EXPENSE_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.LABOR_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="LABOR_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.OCFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="OCFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FORECAST_ACTUAL_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FORECAST_ACTUAL_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.EXPENSE_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.LABOR_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="OCFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.OCFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FORECAST_ACTUAL_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.EXPENSE_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="EXPENSE_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.LABOR_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="LABOR_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.OCFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="OCFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FORECAST_ACTUAL_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FORECAST_ACTUAL_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_BUDGET_LINES_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_BUDGET_LINES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="EXPENSE_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.EXPENSE_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LABOR_TYPE_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.LABOR_TYPE_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="OCFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.OCFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="FORECAST_ACTUAL_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.FORECAST_ACTUAL_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LINES_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.EXPENSE_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="EXPENSE_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.LABOR_TYPE_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="LABOR_TYPE_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.OCFLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="OCFLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.FORECAST_ACTUAL_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="FORECAST_ACTUAL_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LINES_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_BUDGET_LINES_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_BUDGET_LINES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LINES_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LINES_EXT" >
<DIOutputView name="PPM_KCST_BUDGET_LINES_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LINES_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGET_LINES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LINES_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGET_LINES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_BUDGET_LNK_ENT_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_BUDGET_LNK_ENT_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_BUDGET_LNK_ENT_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDGET_LNK_ENT_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_BUDGET_LNK_ENT_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DNFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DNFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ENTITY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ENTITY_PRIMARY_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DNFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DNFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ENTITY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ENTITY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ENTITY_PRIMARY_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ENTITY_PRIMARY_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DNFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DNFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ENTITY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ENTITY_PRIMARY_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DNFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DNFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ENTITY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ENTITY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ENTITY_PRIMARY_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ENTITY_PRIMARY_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DNFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DNFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ENTITY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ENTITY_PRIMARY_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DNFLAG" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DNFLAG" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ENTITY_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ENTITY_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ENTITY_PRIMARY_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ENTITY_PRIMARY_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_BUDGET_LNK_ENT_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_BUDGET_LNK_ENT_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.BUDGET_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DNFLAG" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.DNFLAG"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.ENTITY_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ENTITY_PRIMARY_KEY" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.ENTITY_PRIMARY_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDGET_LNK_ENT_EXT.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.BUDGET_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="BUDGET_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.DNFLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="DNFLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.ENTITY_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="ENTITY_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.ENTITY_PRIMARY_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="ENTITY_PRIMARY_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDGET_LNK_ENT_EXT.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_BUDGET_LNK_ENT_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_BUDGET_LNK_ENT_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDGET_LNK_ENT_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LNK_ENT_EXT" >
<DIOutputView name="PPM_KCST_BUDGET_LNK_ENT_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LNK_ENT_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGET_LNK_ENT_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDGET_LNK_ENT_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDGET_LNK_ENT_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_BUDG_LINE_CELLS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_BUDG_LINE_CELLS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_BUDG_LINE_CELLS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_LINE_CELLS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_BUDG_LINE_CELLS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUDGET_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CURRENCY_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUDGET_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUDGET_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CURRENCY_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CURRENCY_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUDGET_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CURRENCY_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUDGET_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUDGET_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CURRENCY_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CURRENCY_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUDGET_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CURRENCY_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUDGET_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUDGET_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CURRENCY_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CURRENCY_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_BUDG_LINE_CELLS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_BUDG_LINE_CELLS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUDGET_LINE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.BUDGET_LINE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CELL_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.CURRENCY_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_LINE_CELLS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.BUDGET_LINE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="BUDGET_LINE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.CURRENCY_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="CURRENCY_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_LINE_CELLS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_BUDG_LINE_CELLS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_BUDG_LINE_CELLS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_LINE_CELLS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_LINE_CELLS_EXT" >
<DIOutputView name="PPM_KCST_BUDG_LINE_CELLS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_LINE_CELLS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDG_LINE_CELLS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_LINE_CELLS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDG_LINE_CELLS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_BUDG_PERIOD_SUM_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_BUDG_PERIOD_SUM_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_BUDG_PERIOD_SUM_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_BUDG_PERIOD_SUM_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_BUDG_PERIOD_SUM_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="40" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARENT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARENT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARENT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="40" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARENT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARENT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARENT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="40" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARENT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARENT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARENT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_BUDG_PERIOD_SUM_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="40" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.PARENT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PERIOD_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.PERIOD_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_BUDG_PERIOD_SUM_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.PARENT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="PARENT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.PERIOD_START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="PERIOD_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_BUDG_PERIOD_SUM_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_BUDG_PERIOD_SUM_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_BUDG_PERIOD_SUM_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_BUDG_PERIOD_SUM_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_PERIOD_SUM_EXT" >
<DIOutputView name="PPM_KCST_BUDG_PERIOD_SUM_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_PERIOD_SUM_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDG_PERIOD_SUM_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_BUDG_PERIOD_SUM_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_BUDG_PERIOD_SUM_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_CURRENCY_CELLS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_CURRENCY_CELLS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_CURRENCY_CELLS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_CELLS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_CURRENCY_CELLS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_CURRENCY_CELLS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_CURRENCY_CELLS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.ACTUAL_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_VALUE_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.PLAN_VALUE_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_CELLS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.ACTUAL_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="ACTUAL_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.PLAN_VALUE_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="PLAN_VALUE_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_CELLS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_CURRENCY_CELLS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_CURRENCY_CELLS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_CELLS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_CELLS_EXT" >
<DIOutputView name="PPM_KCST_CURRENCY_CELLS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_CELLS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_CURRENCY_CELLS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_CELLS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_CURRENCY_CELLS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCST_CURRENCY_LINES_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCST_CURRENCY_LINES_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCST_CURRENCY_LINES_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCST_CURRENCY_LINES_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCST_CURRENCY_LINES_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_CAPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_CAPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_OPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_OPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_CAPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_CAPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_CAPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_CAPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_OPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_OPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_OPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_OPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_CAPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_CAPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_OPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_OPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_CAPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_CAPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_CAPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_CAPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_OPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_OPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_OPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_OPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_CAPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_CAPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_OPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_OPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_CAPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_CAPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_CAPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_CAPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_OPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_OPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_OPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_OPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCST_CURRENCY_LINES_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCST_CURRENCY_LINES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_CAPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_CAPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_CAPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_LABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_OPEX_LABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_OPEX_NONLABOR_LCL" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_OPEX_NONLABOR_LCL"/>
</DIAttributes>
</DIElement>
<DIElement name="CURRENCY_CODE" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINANCIAL_LINE_CELL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.FINANCIAL_LINE_CELL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCST_CURRENCY_LINES_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_CAPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="ACTUAL_CAPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_CAPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="ACTUAL_CAPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_OPEX_LABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="ACTUAL_OPEX_LABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.ACTUAL_OPEX_NONLABOR_LCL" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="ACTUAL_OPEX_NONLABOR_LCL" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.FINANCIAL_LINE_CELL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="FINANCIAL_LINE_CELL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCST_CURRENCY_LINES_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCST_CURRENCY_LINES_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCST_CURRENCY_LINES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCST_CURRENCY_LINES_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_LINES_EXT" >
<DIOutputView name="PPM_KCST_CURRENCY_LINES_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_LINES_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_CURRENCY_LINES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCST_CURRENCY_LINES_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCST_CURRENCY_LINES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_FM_EXCHANGE_RATES_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_FM_EXCHANGE_RATES_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_FM_EXCHANGE_RATES_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_FM_EXCHANGE_RATES_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_FM_EXCHANGE_RATES_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EXCHANGE_RATE" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.EXCHANGE_RATE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINISH_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FINISH_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SOURCE_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.START_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.TARGET_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.EXCHANGE_RATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="EXCHANGE_RATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FINISH_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FINISH_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SOURCE_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SOURCE_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.START_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="START_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.TARGET_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="TARGET_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EXCHANGE_RATE" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.EXCHANGE_RATE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINISH_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FINISH_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SOURCE_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.START_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.TARGET_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.EXCHANGE_RATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="EXCHANGE_RATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FINISH_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FINISH_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SOURCE_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SOURCE_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.START_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="START_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.TARGET_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="TARGET_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EXCHANGE_RATE" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.EXCHANGE_RATE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINISH_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FINISH_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SOURCE_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.START_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.TARGET_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.EXCHANGE_RATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="EXCHANGE_RATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FINISH_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FINISH_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SOURCE_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SOURCE_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.START_TIME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="START_TIME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.TARGET_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="TARGET_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_FM_EXCHANGE_RATES_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_FM_EXCHANGE_RATES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EXCHANGE_RATE" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.EXCHANGE_RATE"/>
</DIAttributes>
</DIElement>
<DIElement name="FINISH_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.FINISH_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="SOURCE_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.SOURCE_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_TIME" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.START_TIME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_CURRENCY_CODE" datatype="VARCHAR" size="3" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.TARGET_CURRENCY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="LOGIC_BUSINESS_KEY" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_FM_EXCHANGE_RATES_EXT.LOGIC_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.EXCHANGE_RATE" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="EXCHANGE_RATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.FINISH_TIME" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="FINISH_TIME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.SOURCE_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="SOURCE_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.START_TIME" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="START_TIME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.TARGET_CURRENCY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="TARGET_CURRENCY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_FM_EXCHANGE_RATES_EXT.LOGIC_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="LOGIC_BUSINESS_KEY" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_FM_EXCHANGE_RATES_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_FM_EXCHANGE_RATES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_FM_EXCHANGE_RATES_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_FM_EXCHANGE_RATES_EXT" >
<DIOutputView name="PPM_FM_EXCHANGE_RATES_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_FM_EXCHANGE_RATES_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_FM_EXCHANGE_RATES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_FM_EXCHANGE_RATES_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_FM_EXCHANGE_RATES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KNTA_REGIONS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KNTA_REGIONS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KNTA_REGIONS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_REGIONS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KNTA_REGIONS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REGION_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REGION_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REGION_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REGION_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REGION_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REGION_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REGION_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REGION_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REGION_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REGION_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REGION_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REGION_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REGION_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REGION_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REGION_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KNTA_REGIONS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KNTA_REGIONS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_NAME" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.REGION_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_REGIONS_EXT.REGION_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.REGION_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="REGION_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_REGIONS_EXT.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="REGION_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KNTA_REGIONS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KNTA_REGIONS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_REGIONS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_REGIONS_EXT" >
<DIOutputView name="PPM_KNTA_REGIONS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_REGIONS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KNTA_REGIONS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_REGIONS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KNTA_REGIONS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KRSC_ORG_UNITS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KRSC_ORG_UNITS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KRSC_ORG_UNITS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KRSC_ORG_UNITS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KRSC_ORG_UNITS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MANAGER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ORG_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARENT_ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MANAGER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MANAGER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ORG_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ORG_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARENT_ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARENT_ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MANAGER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ORG_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARENT_ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MANAGER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MANAGER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ORG_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ORG_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARENT_ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARENT_ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MANAGER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ORG_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARENT_ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MANAGER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MANAGER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ORG_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ORG_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARENT_ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARENT_ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KRSC_ORG_UNITS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KRSC_ORG_UNITS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="CATEGORY_CODE" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.CATEGORY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MANAGER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.ORG_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARENT_ORG_UNIT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.PARENT_ORG_UNIT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KRSC_ORG_UNITS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.CATEGORY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="CATEGORY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MANAGER_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MANAGER_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.ORG_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="ORG_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.PARENT_ORG_UNIT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="PARENT_ORG_UNIT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KRSC_ORG_UNITS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KRSC_ORG_UNITS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KRSC_ORG_UNITS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KRSC_ORG_UNITS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KRSC_ORG_UNITS_EXT" >
<DIOutputView name="PPM_KRSC_ORG_UNITS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KRSC_ORG_UNITS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KRSC_ORG_UNITS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KRSC_ORG_UNITS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KRSC_ORG_UNITS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KNTA_USERS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KNTA_USERS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KNTA_USERS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KNTA_USERS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KNTA_USERS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.EMAIL_ADDRESS"/>
</DIAttributes>
</DIElement>
<DIElement name="FIRST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.FIRST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="LAST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.LAST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USERNAME" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USERNAME"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.EMAIL_ADDRESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="EMAIL_ADDRESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.FIRST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="FIRST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.LAST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="LAST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USERNAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USERNAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.EMAIL_ADDRESS"/>
</DIAttributes>
</DIElement>
<DIElement name="FIRST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.FIRST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="LAST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.LAST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USERNAME" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USERNAME"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.EMAIL_ADDRESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="EMAIL_ADDRESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.FIRST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="FIRST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.LAST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="LAST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USERNAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USERNAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.EMAIL_ADDRESS"/>
</DIAttributes>
</DIElement>
<DIElement name="FIRST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.FIRST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="LAST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.LAST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USERNAME" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USERNAME"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.EMAIL_ADDRESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="EMAIL_ADDRESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.FIRST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="FIRST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.LAST_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="LAST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USERNAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USERNAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KNTA_USERS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KNTA_USERS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="EMAIL_ADDRESS" datatype="VARCHAR" size="80" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.EMAIL_ADDRESS"/>
</DIAttributes>
</DIElement>
<DIElement name="FIRST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.FIRST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="LAST_NAME" datatype="VARCHAR" size="30" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.LAST_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER_USER_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USERNAME" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.USERNAME"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KNTA_USERS_EXT.USER_ID"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.EMAIL_ADDRESS" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="EMAIL_ADDRESS" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.FIRST_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="FIRST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.LAST_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="LAST_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_QUALIFIER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.USERNAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="USERNAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KNTA_USERS_EXT.USER_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="USER_ID" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KNTA_USERS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KNTA_USERS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KNTA_USERS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_USERS_EXT" >
<DIOutputView name="PPM_KNTA_USERS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_USERS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KNTA_USERS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KNTA_USERS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KNTA_USERS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KPMO_BUS_OBJ_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KPMO_BUS_OBJ_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KPMO_BUS_OBJ_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KPMO_BUS_OBJ_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KPMO_BUS_OBJ_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUSINESS_OBJECTIVE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUSINESS_OBJECTIVE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.RELATIVE_PRIORITY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATE_CODE" datatype="VARCHAR" size="120" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.STATE_CODE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUSINESS_OBJECTIVE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUSINESS_OBJECTIVE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUSINESS_OBJECTIVE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUSINESS_OBJECTIVE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.RELATIVE_PRIORITY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="RELATIVE_PRIORITY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.STATE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="STATE_CODE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUSINESS_OBJECTIVE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUSINESS_OBJECTIVE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.RELATIVE_PRIORITY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATE_CODE" datatype="VARCHAR" size="120" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.STATE_CODE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUSINESS_OBJECTIVE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUSINESS_OBJECTIVE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUSINESS_OBJECTIVE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUSINESS_OBJECTIVE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.RELATIVE_PRIORITY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="RELATIVE_PRIORITY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.STATE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="STATE_CODE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUSINESS_OBJECTIVE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUSINESS_OBJECTIVE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.RELATIVE_PRIORITY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATE_CODE" datatype="VARCHAR" size="120" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.STATE_CODE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUSINESS_OBJECTIVE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUSINESS_OBJECTIVE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUSINESS_OBJECTIVE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUSINESS_OBJECTIVE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.RELATIVE_PRIORITY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="RELATIVE_PRIORITY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.STATE_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="STATE_CODE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KPMO_BUS_OBJ_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KPMO_BUS_OBJ_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.BUSINESS_OBJECTIVE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJECTIVE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.BUSINESS_OBJECTIVE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="RELATIVE_PRIORITY" datatype="DECIMAL" precision="16" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.RELATIVE_PRIORITY"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATE_CODE" datatype="VARCHAR" size="120" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KPMO_BUS_OBJ_EXT.STATE_CODE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.BUSINESS_OBJECTIVE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="BUSINESS_OBJECTIVE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.BUSINESS_OBJECTIVE_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="BUSINESS_OBJECTIVE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.RELATIVE_PRIORITY" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="RELATIVE_PRIORITY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KPMO_BUS_OBJ_EXT.STATE_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="STATE_CODE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KPMO_BUS_OBJ_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KPMO_BUS_OBJ_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KPMO_BUS_OBJ_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KPMO_BUS_OBJ_EXT" >
<DIOutputView name="PPM_KPMO_BUS_OBJ_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KPMO_BUS_OBJ_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KPMO_BUS_OBJ_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KPMO_BUS_OBJ_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KPMO_BUS_OBJ_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_PGM_PROGRAMS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_PGM_PROGRAMS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_PGM_PROGRAMS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_PGM_PROGRAMS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_PGM_PROGRAMS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MANAGER"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROGRAM_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROGRAM_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROGRAM_NAME_ALT"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROGRAM_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.STATUS"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MANAGER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MANAGER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROGRAM_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROGRAM_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROGRAM_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROGRAM_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROGRAM_NAME_ALT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROGRAM_NAME_ALT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROGRAM_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROGRAM_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="STATUS" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MANAGER"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROGRAM_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROGRAM_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROGRAM_NAME_ALT"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROGRAM_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.STATUS"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MANAGER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MANAGER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROGRAM_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROGRAM_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROGRAM_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROGRAM_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROGRAM_NAME_ALT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROGRAM_NAME_ALT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROGRAM_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROGRAM_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="STATUS" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MANAGER"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROGRAM_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROGRAM_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROGRAM_NAME_ALT"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROGRAM_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.STATUS"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MANAGER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MANAGER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROGRAM_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROGRAM_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROGRAM_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROGRAM_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROGRAM_NAME_ALT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROGRAM_NAME_ALT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROGRAM_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROGRAM_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="STATUS" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_PGM_PROGRAMS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_PGM_PROGRAMS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MANAGER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.MANAGER"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.PROGRAM_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.PROGRAM_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_NAME_ALT" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.PROGRAM_NAME_ALT"/>
</DIAttributes>
</DIElement>
<DIElement name="PROGRAM_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.PROGRAM_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PGM_PROGRAMS_EXT.STATUS"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.END_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.MANAGER" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MANAGER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.PROGRAM_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="PROGRAM_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.PROGRAM_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="PROGRAM_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.PROGRAM_NAME_ALT" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="PROGRAM_NAME_ALT" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.PROGRAM_RATING" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="PROGRAM_RATING" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PGM_PROGRAMS_EXT.STATUS" >
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="STATUS" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_PGM_PROGRAMS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_PGM_PROGRAMS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_PGM_PROGRAMS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PGM_PROGRAMS_EXT" >
<DIOutputView name="PPM_PGM_PROGRAMS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PGM_PROGRAMS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PGM_PROGRAMS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PGM_PROGRAMS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PGM_PROGRAMS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCRT_FG_PFM_PROJECT_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_FG_PFM_PROJECT_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_FG_PFM_PROJECT_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_FG_PFM_PROJECT_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_FG_PFM_PROJECT_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BUSINESS_OBJ_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLAN_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLAN_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PRJ_PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PRJ_TOTAL_SCORE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_HEALTH_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.RISK_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BUSINESS_OBJ_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BUSINESS_OBJ_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLAN_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLAN_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLAN_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLAN_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PRJ_PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PRJ_PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PRJ_TOTAL_SCORE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PRJ_TOTAL_SCORE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_HEALTH_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_HEALTH_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.RISK_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="RISK_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BUSINESS_OBJ_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLAN_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLAN_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PRJ_PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PRJ_TOTAL_SCORE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_HEALTH_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.RISK_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BUSINESS_OBJ_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BUSINESS_OBJ_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLAN_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLAN_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLAN_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLAN_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PRJ_PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PRJ_PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PRJ_TOTAL_SCORE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PRJ_TOTAL_SCORE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_HEALTH_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_HEALTH_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.RISK_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="RISK_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BUSINESS_OBJ_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLAN_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLAN_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PRJ_PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PRJ_TOTAL_SCORE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_HEALTH_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.RISK_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BUSINESS_OBJ_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BUSINESS_OBJ_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLAN_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLAN_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLAN_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLAN_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PRJ_PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PRJ_PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PRJ_TOTAL_SCORE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PRJ_TOTAL_SCORE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_HEALTH_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_HEALTH_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.RISK_RATING" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="RISK_RATING" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_FG_PFM_PROJECT_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_FG_PFM_PROJECT_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BUSINESS_OBJ_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.BUSINESS_OBJ_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PLAN_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLAN_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PLAN_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PRJ_PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PRJ_TOTAL_SCORE" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PRJ_TOTAL_SCORE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_HEALTH_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PROJECT_HEALTH_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_MANAGER_USER_ID" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.PROJECT_MANAGER_USER_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RISK_RATING" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.RISK_RATING"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_FG_PFM_PROJECT_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.BUSINESS_OBJ_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="BUSINESS_OBJ_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PLAN_END_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PLAN_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PLAN_START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PLAN_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PRJ_PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PRJ_PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PRJ_TOTAL_SCORE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PRJ_TOTAL_SCORE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PROJECT_HEALTH_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PROJECT_HEALTH_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.PROJECT_MANAGER_USER_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="PROJECT_MANAGER_USER_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.RISK_RATING" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="RISK_RATING" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_FG_PFM_PROJECT_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_FG_PFM_PROJECT_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_FG_PFM_PROJECT_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_FG_PFM_PROJECT_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_PROJECT_EXT" >
<DIOutputView name="PPM_KCRT_FG_PFM_PROJECT_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_PROJECT_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_FG_PFM_PROJECT_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_FG_PFM_PROJECT_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_FG_PFM_PROJECT_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_PM_PROJECTS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_PM_PROJECTS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_PM_PROJECTS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECTS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_PM_PROJECTS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="650" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="DISPLAY_STATUS" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DISPLAY_STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PFM_REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="WORKPLAN_CREATE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.WORKPLAN_CREATE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DISPLAY_STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DISPLAY_STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PFM_REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PFM_REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.WORKPLAN_CREATE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="WORKPLAN_CREATE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_QUALIFIER" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="650" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="DISPLAY_STATUS" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DISPLAY_STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PFM_REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="WORKPLAN_CREATE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.WORKPLAN_CREATE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DISPLAY_STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DISPLAY_STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PFM_REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PFM_REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.WORKPLAN_CREATE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="WORKPLAN_CREATE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_QUALIFIER" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="650" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="DISPLAY_STATUS" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DISPLAY_STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PFM_REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="WORKPLAN_CREATE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.WORKPLAN_CREATE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DISPLAY_STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DISPLAY_STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PFM_REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PFM_REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.STATUS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="STATUS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.WORKPLAN_CREATE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="WORKPLAN_CREATE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_QUALIFIER" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_PM_PROJECTS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_PM_PROJECTS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="650" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="DISPLAY_STATUS" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.DISPLAY_STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PFM_REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.PFM_REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_NAME" datatype="VARCHAR" size="300" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.PROJECT_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REGION_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.REGION_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.STATUS"/>
</DIAttributes>
</DIElement>
<DIElement name="WORKPLAN_CREATE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.WORKPLAN_CREATE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_QUALIFIER" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECTS_EXT.MD_QUALIFIER"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.DISPLAY_STATUS" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="DISPLAY_STATUS" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.END_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.PFM_REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="PFM_REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.PROJECT_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="PROJECT_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.REGION_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="REGION_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.STATUS" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="STATUS" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.WORKPLAN_CREATE_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="WORKPLAN_CREATE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECTS_EXT.MD_QUALIFIER" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_QUALIFIER" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_PM_PROJECTS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_PM_PROJECTS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECTS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECTS_EXT" >
<DIOutputView name="PPM_PM_PROJECTS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECTS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PM_PROJECTS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECTS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PM_PROJECTS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_PM_PROJECT_TYPES_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_PM_PROJECT_TYPES_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_PM_PROJECT_TYPES_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_PM_PROJECT_TYPES_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_PM_PROJECT_TYPES_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_PM_PROJECT_TYPES_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_PM_PROJECT_TYPES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.PROJECT_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_TYPE_NAME" datatype="VARCHAR" size="255" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.PROJECT_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_PM_PROJECT_TYPES_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.PROJECT_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="PROJECT_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.PROJECT_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="PROJECT_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_PM_PROJECT_TYPES_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_PM_PROJECT_TYPES_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_PM_PROJECT_TYPES_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_PM_PROJECT_TYPES_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECT_TYPES_EXT" >
<DIOutputView name="PPM_PM_PROJECT_TYPES_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECT_TYPES_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PM_PROJECT_TYPES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_PM_PROJECT_TYPES_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_PM_PROJECT_TYPES_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCRT_REQUEST_DETAILS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_REQUEST_DETAILS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_REQUEST_DETAILS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUEST_DETAILS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_REQUEST_DETAILS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DUE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DUE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="IDENTIFIED_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.IDENTIFIED_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ISSUE_TYPE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ISSUE_TYPE"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RESOLUTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.RESOLUTION"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DUE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DUE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.IDENTIFIED_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="IDENTIFIED_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ISSUE_TYPE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ISSUE_TYPE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.RESOLUTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="RESOLUTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DUE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DUE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="IDENTIFIED_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.IDENTIFIED_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ISSUE_TYPE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ISSUE_TYPE"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RESOLUTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.RESOLUTION"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DUE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DUE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.IDENTIFIED_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="IDENTIFIED_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ISSUE_TYPE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ISSUE_TYPE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.RESOLUTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="RESOLUTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DUE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DUE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="IDENTIFIED_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.IDENTIFIED_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ISSUE_TYPE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ISSUE_TYPE"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RESOLUTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.RESOLUTION"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DUE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DUE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.IDENTIFIED_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="IDENTIFIED_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ISSUE_TYPE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ISSUE_TYPE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.RESOLUTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="RESOLUTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_REQUEST_DETAILS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_REQUEST_DETAILS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="DUE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.DUE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="IDENTIFIED_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.IDENTIFIED_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ISSUE_TYPE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.ISSUE_TYPE"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="RESOLUTION" datatype="VARCHAR" size="200" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.RESOLUTION"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUEST_DETAILS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.DUE_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="DUE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.IDENTIFIED_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="IDENTIFIED_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.ISSUE_TYPE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="ISSUE_TYPE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.RESOLUTION" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="RESOLUTION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUEST_DETAILS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_REQUEST_DETAILS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_REQUEST_DETAILS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUEST_DETAILS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUEST_DETAILS_EXT" >
<DIOutputView name="PPM_KCRT_REQUEST_DETAILS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUEST_DETAILS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQUEST_DETAILS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUEST_DETAILS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQUEST_DETAILS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_WP_TASKS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_WP_TASKS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_WP_TASKS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_WP_TASKS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_WP_TASKS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTUAL_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ESTIMATED_REM_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.TASK_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_DURATION" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLANNED_DURATION"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLANNED_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLANNED_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PLANNED_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.TASK_NAME"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTUAL_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTUAL_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ESTIMATED_REM_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ESTIMATED_REM_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.TASK_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="TASK_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLANNED_DURATION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLANNED_DURATION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLANNED_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLANNED_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLANNED_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLANNED_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PLANNED_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PLANNED_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.TASK_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="TASK_NAME" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTUAL_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ESTIMATED_REM_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.TASK_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_DURATION" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLANNED_DURATION"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLANNED_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLANNED_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PLANNED_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.TASK_NAME"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTUAL_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTUAL_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ESTIMATED_REM_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ESTIMATED_REM_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.TASK_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="TASK_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLANNED_DURATION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLANNED_DURATION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLANNED_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLANNED_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLANNED_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLANNED_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PLANNED_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PLANNED_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.TASK_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="TASK_NAME" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTUAL_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ESTIMATED_REM_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.TASK_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_DURATION" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLANNED_DURATION"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLANNED_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLANNED_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PLANNED_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.TASK_NAME"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTUAL_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTUAL_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ESTIMATED_REM_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ESTIMATED_REM_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.TASK_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="TASK_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLANNED_DURATION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLANNED_DURATION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLANNED_EFFORT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLANNED_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLANNED_END_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLANNED_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PLANNED_START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PLANNED_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.TASK_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="TASK_NAME" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_WP_TASKS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_WP_TASKS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTUAL_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.ACTUAL_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="ESTIMATED_REM_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.ESTIMATED_REM_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.TASK_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_DURATION" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.PLANNED_DURATION"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_EFFORT" datatype="DOUBLE" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.PLANNED_EFFORT"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_END_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.PLANNED_END_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PLANNED_START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.PLANNED_START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="PROJECT_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.PROJECT_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="TASK_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_WP_TASKS_EXT.TASK_NAME"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.ACTUAL_EFFORT" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="ACTUAL_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.END_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.ESTIMATED_REM_EFFORT" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="ESTIMATED_REM_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.TASK_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="TASK_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.PLANNED_DURATION" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="PLANNED_DURATION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.PLANNED_EFFORT" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="PLANNED_EFFORT" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.PLANNED_END_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="PLANNED_END_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.PLANNED_START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="PLANNED_START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.PROJECT_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="PROJECT_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_WP_TASKS_EXT.TASK_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="TASK_NAME" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_WP_TASKS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_WP_TASKS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_WP_TASKS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_WP_TASKS_EXT" >
<DIOutputView name="PPM_WP_TASKS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_WP_TASKS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_WP_TASKS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_WP_TASKS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_WP_TASKS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCRT_REQUESTS_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_REQUESTS_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_REQUESTS_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQUESTS_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_REQUESTS_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ACTIVE_PROCESS"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.ASSIGNED_TO_USER"/>
</DIAttributes>
</DIElement>
<DIElement name="CLOSE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CLOSE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="CREATION_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.CREATION_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="400" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="PRIORITY_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PRIORITY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="REF_PROJECT" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REF_PROJECT"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_NUMBER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.STATUS_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.STATUS_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.TARGET_DATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ACTIVE_PROCESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ACTIVE_PROCESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.ASSIGNED_TO_USER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="ASSIGNED_TO_USER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CLOSE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CLOSE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.CREATION_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="CREATION_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PRIORITY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PRIORITY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REF_PROJECT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REF_PROJECT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.STATUS_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="STATUS_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.STATUS_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="STATUS_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.TARGET_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="TARGET_DATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ACTIVE_PROCESS"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.ASSIGNED_TO_USER"/>
</DIAttributes>
</DIElement>
<DIElement name="CLOSE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CLOSE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="CREATION_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.CREATION_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="400" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="PRIORITY_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PRIORITY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="REF_PROJECT" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REF_PROJECT"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_NUMBER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.STATUS_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.STATUS_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.TARGET_DATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ACTIVE_PROCESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ACTIVE_PROCESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.ASSIGNED_TO_USER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="ASSIGNED_TO_USER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CLOSE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CLOSE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.CREATION_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="CREATION_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PRIORITY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PRIORITY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REF_PROJECT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REF_PROJECT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.STATUS_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="STATUS_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.STATUS_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="STATUS_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.TARGET_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="TARGET_DATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ACTIVE_PROCESS"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.ASSIGNED_TO_USER"/>
</DIAttributes>
</DIElement>
<DIElement name="CLOSE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CLOSE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="CREATION_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.CREATION_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="400" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="PRIORITY_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PRIORITY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="REF_PROJECT" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REF_PROJECT"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_NUMBER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.STATUS_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.STATUS_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.TARGET_DATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ACTIVE_PROCESS" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ACTIVE_PROCESS" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.ASSIGNED_TO_USER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="ASSIGNED_TO_USER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CLOSE_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CLOSE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.CREATION_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="CREATION_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PRIORITY_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PRIORITY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REF_PROJECT" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REF_PROJECT" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.START_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.STATUS_CODE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="STATUS_CODE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.STATUS_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="STATUS_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.TARGET_DATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="TARGET_DATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_REQUESTS_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_REQUESTS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="ACTIVE_PROCESS" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.ACTIVE_PROCESS"/>
</DIAttributes>
</DIElement>
<DIElement name="ASSIGNED_TO_USER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.ASSIGNED_TO_USER"/>
</DIAttributes>
</DIElement>
<DIElement name="CLOSE_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.CLOSE_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="CREATION_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.CREATION_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="DESCRIPTION" datatype="VARCHAR" size="400" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.DESCRIPTION"/>
</DIAttributes>
</DIElement>
<DIElement name="PRIORITY_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.PRIORITY_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="REF_PROJECT" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.REF_PROJECT"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_NUMBER" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.REQUEST_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="START_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.START_DATE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_CODE" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.STATUS_CODE"/>
</DIAttributes>
</DIElement>
<DIElement name="STATUS_NAME" datatype="VARCHAR" size="60" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.STATUS_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="TARGET_DATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQUESTS_EXT.TARGET_DATE"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.ACTIVE_PROCESS" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="ACTIVE_PROCESS" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.ASSIGNED_TO_USER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="ASSIGNED_TO_USER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.CLOSE_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="CLOSE_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.CREATION_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="CREATION_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.DESCRIPTION" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="DESCRIPTION" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.PRIORITY_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="PRIORITY_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.REF_PROJECT" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="REF_PROJECT" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.REQUEST_NUMBER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="REQUEST_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.START_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="START_DATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.STATUS_CODE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="STATUS_CODE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.STATUS_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="STATUS_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQUESTS_EXT.TARGET_DATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="TARGET_DATE" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_REQUESTS_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_REQUESTS_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQUESTS_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUESTS_EXT" >
<DIOutputView name="PPM_KCRT_REQUESTS_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUESTS_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQUESTS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQUESTS_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQUESTS_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_REQ_DETAILS_PLHD_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_REQ_DETAILS_PLHD_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="REQUEST_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_DETAILS_PLHD_EXT.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_REQ_DETAILS_PLHD_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_REQ_DETAILS_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_DETAILS_PLHD_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_DETAILS_PLHD_EXT" >
<DIOutputView name="PPM_KCRT_REQ_DETAILS_PLHD_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_DETAILS_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQ_DETAILS_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_DETAILS_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQ_DETAILS_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_KCRT_REQ_HEADER_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_KCRT_REQ_HEADER_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_KCRT_REQ_HEADER_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_KCRT_REQ_HEADER_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_KCRT_REQ_HEADER_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQ_HEADER_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQ_HEADER_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQ_HEADER_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQ_HEADER_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQ_HEADER_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQ_HEADER_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQ_HEADER_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQ_HEADER_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQ_HEADER_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_KCRT_REQ_HEADER_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_KCRT_REQ_HEADER_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="BATCH_NUMBER" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.BATCH_NUMBER"/>
</DIAttributes>
</DIElement>
<DIElement name="REQ_HEADER_DETAIL_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.REQ_HEADER_DETAIL_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_50"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_21" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_21"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_22" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_22"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_23" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_23"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_24" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_24"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_25" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_25"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_26" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_26"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_27" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_27"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_28" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_28"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_29" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_29"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_30" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_30"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_31" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_31"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_32" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_32"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_33" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_33"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_34" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_34"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_35" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_35"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_36" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_36"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_37" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_37"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_38" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_38"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_39" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_39"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_40" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_40"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_41" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_41"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_42" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_42"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_43" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_43"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_44" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_44"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_45" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_45"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_46" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_46"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_47" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_47"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_48" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_48"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_49" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_49"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_PARAMETER_50" datatype="VARCHAR" size="4000" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_50"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.BATCH_NUMBER" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="BATCH_NUMBER" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.REQ_HEADER_DETAIL_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="REQ_HEADER_DETAIL_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="PARAMETER_50" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_01" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_02" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_03" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_04" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_05" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_06" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_07" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_08" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_09" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_10" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_11" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_12" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_13" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_14" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_15" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_16" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_17" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_18" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_19" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_20" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_21" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_21" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_22" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_22" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_23" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_23" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_24" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_24" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_25" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_25" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_26" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_26" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_27" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_27" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_28" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_28" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_29" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_29" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_30" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_30" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_31" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_31" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_32" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_32" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_33" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_33" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_34" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_34" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_35" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_35" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_36" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_36" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_37" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_37" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_38" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_38" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_39" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_39" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_40" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_40" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_41" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_41" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_42" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_42" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_43" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_43" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_44" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_44" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_45" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_45" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_46" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_46" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_47" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_47" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_48" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_48" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_49" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_49" />
</DIExpression>
<DIExpression isString="true" expr="PPM_KCRT_REQ_HEADER_EXT.VISIBLE_PARAMETER_50" >
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="VISIBLE_PARAMETER_50" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_KCRT_REQ_HEADER_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_KCRT_REQ_HEADER_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_KCRT_REQ_HEADER_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_HEADER_EXT" >
<DIOutputView name="PPM_KCRT_REQ_HEADER_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_HEADER_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQ_HEADER_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_KCRT_REQ_HEADER_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_KCRT_REQ_HEADER_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_REQUEST_TYPE_UD_PLHD_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_REQUEST_TYPE_UD_PLHD_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_REQUEST_TYPE_UD_PLHD_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_TYPE_UD_PLHD_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_REQUEST_TYPE_UD_PLHD_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_REQUEST_TYPE_UD_PLHD_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="DECIMAL" precision="32" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="REQUEST_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.REQUEST_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="REQUEST_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_REQUEST_TYPE_UD_PLHD_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_REQUEST_TYPE_UD_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_TYPE_UD_PLHD_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_TYPE_UD_PLHD_EXT" >
<DIOutputView name="PPM_REQUEST_TYPE_UD_PLHD_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_TYPE_UD_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQUEST_TYPE_UD_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_TYPE_UD_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQUEST_TYPE_UD_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_REQ_HD_TYPE_UD_PLHD_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_REQ_HD_TYPE_UD_PLHD_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_HEADER_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_HEADER_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_HEADER_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_HEADER_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_HEADER_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_HEADER_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_HEADER_TYPE_NAME" datatype="VARCHAR" size="320" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_NAME"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="REQUEST_HEADER_TYPE_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.REQUEST_HEADER_TYPE_NAME" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="REQUEST_HEADER_TYPE_NAME" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQ_HD_TYPE_UD_PLHD_EXT.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_REQ_HD_TYPE_UD_PLHD_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_REQ_HD_TYPE_UD_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_REQ_HD_TYPE_UD_PLHD_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQ_HD_TYPE_UD_PLHD_EXT" >
<DIOutputView name="PPM_REQ_HD_TYPE_UD_PLHD_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQ_HD_TYPE_UD_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQ_HD_TYPE_UD_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQ_HD_TYPE_UD_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQ_HD_TYPE_UD_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>
<DIWorkflow name="PPM_REQUEST_USERDATA_PLHD_TSNP_WF" typeId="2" >
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="This workflow houses several workflows that are used to process source data extracts into the Transactional Snapshopt tables.&#xD;&#xA;PPM_REQUEST_USERDATA_PLHD_TSNP_WF: This workflow loads the data from the EXT tables into the TSNP tables."/>
</DIProperties>
<DIVariables>
<DIElement paramType="LOCAL" name="$L_WF_NAME" datatype="VARCHAR" size="200" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_MAX_WF_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
</DIElement>
<DIElement paramType="LOCAL" name="$L_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIVariables>
<DISteps>
<DITryStep typeId="13" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="This is the Try portion to set up the Try Catch Block"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_TRY"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that initiates the metadata tracking for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_START_SC"/>
<DIAttribute name="ui_script_text" value="&#xD;&#xA;#WORKFLOW NAME&#xD;&#xA;$L_WF_NAME = workflow_name();&#xD;&#xA;&#xD;&#xA;# GET MAX PROCESS_ID OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID&#xD;&#xA;$L_MAX_WF_PROCESS_ID=M_ICPS_GET_MAX_WF_PROCESS_ID($G_BATCH_ID,$L_WF_NAME,job_name( ));&#xD;&#xA;&#xD;&#xA;# GET LAST EXECUTION STATUS OF THIS WORKFLOW IN THE SCOPE OF RUNNING BATCH_ID, ACCORDING TO MAX PROCESS_ID&#xD;&#xA;$L_LATEST_WF_STATUS =M_ICPS_GET_WF_STATUS($L_MAX_WF_PROCESS_ID,$L_WF_NAME );&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;ABC_STARTWF_FN(workflow_name(), $G_PROCESS_ID);"/>
</DIUIOptions>
<DIAssignmentStep typeId="12" variable="$L_WF_NAME" >
<DIExpression isString="true" expr="workflow_name()" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_MAX_WF_PROCESS_ID" >
<DIExpression isString="true" expr="m_icps_get_max_wf_process_id($G_BATCH_ID, $L_WF_NAME, job_name())" >
<FUNCTION_CALL name="m_icps_get_max_wf_process_id"  type="DI" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
<FUNCTION_CALL name="job_name"  type="DI" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIAssignmentStep typeId="12" variable="$L_LATEST_WF_STATUS" >
<DIExpression isString="true" expr="m_icps_get_wf_status($L_MAX_WF_PROCESS_ID, $L_WF_NAME)" >
<FUNCTION_CALL name="m_icps_get_wf_status"  type="DI" >
<VARIABLE_REFERENCE name="$L_MAX_WF_PROCESS_ID" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</FUNCTION_CALL>
</DIExpression>
</DIAssignmentStep>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_startwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_startwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
<DIIfStep typeId="2" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="If_condition" value=" $L_LATEST_WF_STATUS&lt;&gt;'SUCCESS'  or $L_LATEST_WF_STATUS is null"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_CONDITION"/>
</DIUIOptions>
<DIExpression isString="true" expr="(($L_LATEST_WF_STATUS != 'SUCCESS') OR&#xA;   ($L_LATEST_WF_STATUS IS  NULL ))" >
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
<CONSTANT value="SUCCESS" datatype="VARCHAR" size="7" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
<DIIf>
<DICallStep typeId="1"  calledObjectType="Dataflow" name="PPM_REQUEST_USERDATA_PLHD_TSNP_DF" >
<DIUIOptions>
<DIAttribute name="ParmDefaulted_01" value="FALSE"/>
</DIUIOptions>
<DIParameterValues>
<DIExpression isString="true" expr="$L_LATEST_WF_STATUS" >
<VARIABLE_REFERENCE name="$L_LATEST_WF_STATUS" />
</DIExpression>
</DIParameterValues>
</DICallStep>
</DIIf>
<DIElse>
<DIScript>
<DIUIOptions>
<DIAttribute name="ui_display_name" value="Print"/>
<DIAttribute name="ui_script_text" value="ETL_PRINT('PREVIOS RUN OF WORKFLOW &gt;&gt; '||$L_WF_NAME||' FOR BATCH ID &gt;&gt; '||$G_BATCH_ID||' HAS FINISHED SUCCESSFULLY!');"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="etl_print((((('PREVIOS RUN OF WORKFLOW &gt;&gt; ' || $L_WF_NAME) || ' FOR BATCH ID &gt;&gt; ') || $G_BATCH_ID) || ' HAS FINISHED SUCCESSFULLY!'))" >
<FUNCTION_CALL name="etl_print"  type="DI" >
<CONCAT>
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="PREVIOS RUN OF WORKFLOW &gt;&gt; " datatype="VARCHAR" size="27" />
<VARIABLE_REFERENCE name="$L_WF_NAME" />
</CONCAT>
<CONSTANT value=" FOR BATCH ID &gt;&gt; " datatype="VARCHAR" size="17" />
</CONCAT>
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</CONCAT>
<CONSTANT value=" HAS FINISHED SUCCESSFULLY!" datatype="VARCHAR" size="27" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DIElse>
</DIIfStep>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="The script that calls the custom function that closes the metadata for the workflow."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_END_SC"/>
<DIAttribute name="ui_script_text" value="ABC_ENDWF_FN(workflow_name(), $G_PROCESS_ID);&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_endwf_fn(workflow_name(), $G_PROCESS_ID)" >
<FUNCTION_CALL name="abc_endwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
<DICatch typeId="20" errorCode="210101" >
<DIUIOptions>
<DIAttribute name="AutoLayout" value="yes"/>
<DIAttribute name="ObjectDesc" value="The end of the TRY/CATCH block.  It contains the script that calls the custom function which writes metadata if there is a failure."/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_CATCH"/>
</DIUIOptions>
<DISteps>
<DIScript>
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This script is called upon the Failure of the TSNP Workflow"/>
<DIAttribute name="ui_display_name" value="PPM_REQUEST_USERDATA_PLHD_TSNP_FAIL_SC"/>
<DIAttribute name="ui_script_text" value="ABC_FAILWF_FN(workflow_name(), $G_PROCESS_ID, 'Error: \[' || error_number() || '\] ' || error_message());&#xD;&#xA;"/>
</DIUIOptions>
<DIFunctionCallStep typeId="23" >
<DIExpression isString="true" expr="abc_failwf_fn(workflow_name(), $G_PROCESS_ID, ((('Error: \\[' || error_number()) || '\\] ') || error_message()))" >
<FUNCTION_CALL name="abc_failwf_fn"  type="DI" >
<FUNCTION_CALL name="workflow_name"  type="DI" />
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
<CONCAT>
<CONCAT>
<CONCAT>
<CONSTANT value="Error: \[" datatype="VARCHAR" size="9" />
<FUNCTION_CALL name="error_number"  type="DI" />
</CONCAT>
<CONSTANT value="\] " datatype="VARCHAR" size="3" />
</CONCAT>
<FUNCTION_CALL name="error_message"  type="DI" />
</CONCAT>
</FUNCTION_CALL>
</DIExpression>
</DIFunctionCallStep>
</DIScript>
</DISteps>
</DICatch>
</DITryStep>
</DISteps>
<DIAttributes>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="unit_of_recovery" value="no"/>
</DIAttributes>
</DIWorkflow>
<DIDataflow name="PPM_REQUEST_USERDATA_PLHD_TSNP_DF" typeId="1" >
<DIUIOptions>
<DIAnnotation name="ANNOTATION_0"><DIAttribute name="ObjectDesc" value="Description: This dataflow sources records from the EXT to TSNP tables. If a record exists in EXT and TSNP, then the record is updated in TSNP. If the record exists only Author: John Monfort. in EXT, then it is insertd in TSNP. Records marked as delete (records in the EXTD table) as physically deleted from TSNP"/>
</DIAnnotation><DIAttribute name="AutoLayout" value="yes"/>
</DIUIOptions>
<DIProperties>
<DIAttribute name="GeneratorTemplate" value="PRODUCT_ENTITY_TSNP_WF (version $)"/>
<DIAttribute name="GeneratorVersion" value="v1.0"/>
<DIAttribute name="GenerationDate" value="Mon, 25 Apr 2011 11:34:48"/>
<DIAttribute name="Description" value="Process the records from EXT to TSNP"/>
</DIProperties>
<DIParameters>
<DIElement paramType="IN" name="$P_LATEST_WF_STATUS" datatype="VARCHAR" size="200" >
</DIElement>
</DIParameters>
<DITransforms>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Flag records as update or insert"/>
<DIAttribute name="ui_display_name" value="MO_Insert"/>
</DIUIOptions>
<DIInputView name="QRY_NEW"  />
<DISchema name="MO_Insert" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="insert"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records flagged as deletes (MD_PF_FLAG='D') are physically deleted from TSNP"/>
<DIAttribute name="ui_display_name" value="MO_Delete"/>
</DIUIOptions>
<DIInputView name="QRY_DEL"  />
<DISchema name="MO_Delete" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="delete"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Query Filters out only the Deletes from the EXT Source"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_DEL"/>
<DIAttribute name="ui_display_name" value="QRY_DEL"/>
<DIAttribute name="ui_where_text" value="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)"/>
</DIUIOptions>
<DISchema name="QRY_DEL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_DEL.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_DEL" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(CS_MD_FLAG_CS_DEL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_DEL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Merge" >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="This Merge Merges the Updates, Inserts, and Deletes so one Load is done rather than 3 to the target"/>
</DIUIOptions>
<DIInputView name="MO_Delete"  />
<DIInputView name="MO_Insert"  />
<DIInputView name="MO_Update"  />
<DISchema name="Merge" >
</DISchema>
</DITransformCall>

<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CS_MD_FLAG_CS_DEL" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE "/>
<DIAttribute name="CS_MD_FLAG_CS_NEW" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW "/>
<DIAttribute name="CS_MD_FLAG_CS_UPD" value="QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE "/>
<DIAttribute name="ObjectDesc" value="Check the value of the incoming MD_FLAG to determine the case statement to execute"/>
<DIAttribute name="ui_acta_from_schema_0" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_display_name" value="CS_MD_FLAG"/>
</DIUIOptions>
<DIInputView name="QRY_FILTER_PREFILL" />
<DISchema name="CS_MD_FLAG" >
</DISchema>
<DICase>
<DISwitch label="CS_NEW" outputView="CS_MD_FLAG_CS_NEW" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_NEW)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_NEW" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_UPD" outputView="CS_MD_FLAG_CS_UPD" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_UPDATE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_UPDATE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="CS_DEL" outputView="CS_MD_FLAG_CS_DEL" isDefault="false">
<DIExpression isString="true" expr="(QRY_FILTER_PREFILL.MD_FLAG = $G_FLAG_DELETE)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="QRY_FILTER_PREFILL" column="MD_FLAG" />
<VARIABLE_REFERENCE name="$G_FLAG_DELETE" />
</LOGICAL_OP>
</DIExpression>
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='NEW'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_NEW"/>
<DIAttribute name="ui_display_name" value="QRY_NEW"/>
</DIUIOptions>
<DISchema name="QRY_NEW" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_NEW.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_NEW" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_NEW" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ObjectDesc" value="Records with MD_FLAG='UPD'"/>
<DIAttribute name="ui_acta_from_schema_0" value="CS_MD_FLAG_CS_UPD"/>
<DIAttribute name="ui_display_name" value="QRY_UPD"/>
</DIUIOptions>
<DISchema name="QRY_UPD" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="CS_MD_FLAG_CS_UPD.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="CS_MD_FLAG_CS_UPD" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="CS_MD_FLAG_CS_UPD" />
</DIFrom>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DITransformCall typeId="111" name="Map_Operation" >
<DIUIOptions>
<DIAttribute name="ui_display_name" value="MO_Update"/>
</DIUIOptions>
<DIInputView name="QRY_UPD"  />
<DISchema name="MO_Update" >
</DISchema>
<DIAttributes>
<DIAttribute name="delete" value="discard"/>
<DIAttribute name="insert" value="discard"/>
<DIAttribute name="normal" value="update"/>
<DIAttribute name="update" value="discard"/>
</DIAttributes>
</DITransformCall>
<DIQuery typeId="122"  >
<DIUIOptions>
<DIAttribute name="ui_acta_from_schema_0" value="PPM_REQUEST_USERDATA_PLHD_EXT"/>
<DIAttribute name="ui_display_name" value="QRY_FILTER_PREFILL"/>
<DIAttribute name="ui_where_text" value="(PPM_REQUEST_USERDATA_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)"/>
</DIUIOptions>
<DISchema name="QRY_FILTER_PREFILL" >
<DIElement name="MD_BATCH_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_BATCH_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PROCESS_ID" datatype="DECIMAL" precision="19" scale="0" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="$G_PROCESS_ID&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_FLAG" datatype="VARCHAR" size="10" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.MD_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_PF_FLAG" datatype="VARCHAR" size="1" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.MD_PF_FLAG&#xD;&#xA; &#xD;&#xA;"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_BUSINESS_KEY" datatype="VARCHAR" size="255" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.MD_BUSINESS_KEY"/>
</DIAttributes>
</DIElement>
<DIElement name="MD_CP_ID" datatype="DECIMAL" precision="10" scale="0" key="true" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.MD_CP_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="REQUEST_ID" datatype="VARCHAR" size="100" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.REQUEST_ID"/>
</DIAttributes>
</DIElement>
<DIElement name="SRC_LASTMODDATE" datatype="DATETIME" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.SRC_LASTMODDATE"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_20"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_01" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_01"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_02" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_02"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_03" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_03"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_04" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_04"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_05" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_05"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_06" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_06"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_07" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_07"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_08" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_08"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_09" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_09"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_10" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_10"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_11" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_11"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_12" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_12"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_13" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_13"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_14" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_14"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_15" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_15"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_16" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_16"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_17" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_17"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_18" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_18"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_19" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_19"/>
</DIAttributes>
</DIElement>
<DIElement name="VISIBLE_USER_DATA_20" datatype="VARCHAR" size="800" >
<DIAttributes>
<DIAttribute name="Description" value=""/>
<DIAttribute name="ui_mapping_text" value="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_20"/>
</DIAttributes>
</DIElement>
</DISchema>
<DISelect>
<DIProjection>
<DIExpression isString="true" expr="$G_BATCH_ID" >
<VARIABLE_REFERENCE name="$G_BATCH_ID" />
</DIExpression>
<DIExpression isString="true" expr="$G_PROCESS_ID" >
<VARIABLE_REFERENCE name="$G_PROCESS_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.MD_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="MD_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.MD_PF_FLAG" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="MD_PF_FLAG" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.MD_BUSINESS_KEY" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="MD_BUSINESS_KEY" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.MD_CP_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="MD_CP_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.REQUEST_ID" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="REQUEST_ID" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.SRC_LASTMODDATE" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="SRC_LASTMODDATE" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="USER_DATA_20" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_01" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_01" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_02" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_02" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_03" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_03" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_04" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_04" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_05" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_05" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_06" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_06" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_07" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_07" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_08" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_08" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_09" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_09" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_10" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_10" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_11" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_11" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_12" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_12" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_13" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_13" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_14" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_14" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_15" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_15" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_16" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_16" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_17" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_17" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_18" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_18" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_19" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_19" />
</DIExpression>
<DIExpression isString="true" expr="PPM_REQUEST_USERDATA_PLHD_EXT.VISIBLE_USER_DATA_20" >
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="VISIBLE_USER_DATA_20" />
</DIExpression>
</DIProjection>
<DIFrom>
<DITableSpec name="PPM_REQUEST_USERDATA_PLHD_EXT" />
</DIFrom>
<DIWhere>
<DIExpression isString="true" expr="(PPM_REQUEST_USERDATA_PLHD_EXT.MD_PF_FLAG = $G_MD_NON_PREFILL_FLAG)" >
<LOGICAL_OP op="EQ">
<COLUMN_REFERENCE  qualifier1="PPM_REQUEST_USERDATA_PLHD_EXT" column="MD_PF_FLAG" />
<VARIABLE_REFERENCE name="$G_MD_NON_PREFILL_FLAG" />
</LOGICAL_OP>
</DIExpression>
</DIWhere>
</DISelect>
<DIAttributes>
<DIAttribute name="distinct_run_as_separate_process" value="no"/>
<DIAttribute name="group_by_run_as_separate_process" value="no"/>
<DIAttribute name="join_run_as_separate_process" value="no"/>
<DIAttribute name="order_by_run_as_separate_process" value="no"/>
<DIAttribute name="run_as_separate_process" value="no"/>
</DIAttributes>
</DIQuery>

<DIDatabaseTableSource typeId="22" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_USERDATA_PLHD_EXT" >
<DIOutputView name="PPM_REQUEST_USERDATA_PLHD_EXT"  />
<DIAttributes>
<DIAttribute name="array_fetch_size" value="1000"/>
<DIAttribute name="cache" value="yes"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="enable_partitioning" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="package_size" value="0"/>
<DIAttribute name="reader_is_DB2CDC_table" value="no"/>
<DIAttribute name="reader_overflow_file" value="overflow_file"/>
<DIAttribute name="reader_template_table" value="no"/>
<DIAttribute name="reader_use_overflow_file" value="no"/>
<DIAttribute name="reader_use_trex_transaction" value="no"/>
<DIAttribute name="table_weight" value="0"/>
</DIAttributes>
</DIDatabaseTableSource>

<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_USERDATA_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_FIRST_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>No</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>no</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQUEST_USERDATA_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>


<!-- GUID is optional -->
<DITransformCall typeId="210" name="Case_Operation"  >
<DIUIOptions>
<DIAttribute name="CASE_LOAD_FIRST_RUN" value="$P_LATEST_WF_STATUS IS NULL and ($G_DEBUG_MODE &lt;&gt;1 or $G_DEBUG_MODE IS NULL) and ($G_TRACE_MODE &lt;&gt;1 or $G_TRACE_MODE IS NULL)"/>
<DIAttribute name="CASE_LOAD_RE_RUN" value="DEFAULT"/>
<DIAttribute name="ui_acta_from_schema_0" value="Merge"/>
<DIAttribute name="ui_display_name" value="CASE_LOAD"/>
</DIUIOptions>
<DIInputView name="Merge" />
<DISchema name="CASE_LOAD" >
</DISchema>
<DICase>
<DISwitch label="FIRST_RUN" outputView="CASE_LOAD_FIRST_RUN" isDefault="false">
<DIExpression isString="true" expr="((($P_LATEST_WF_STATUS IS  NULL ) AND&#xA;   (  (($G_DEBUG_MODE != 1) OR&#xA;   ($G_DEBUG_MODE IS  NULL ))  )) AND&#xA;   (  (($G_TRACE_MODE != 1) OR&#xA;   ($G_TRACE_MODE IS  NULL ))  ))" >
<LOGICAL_OP op="AND">
<LOGICAL_OP op="AND">
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$P_LATEST_WF_STATUS" />
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_DEBUG_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
<LOGICAL_OP op="OR">
<LOGICAL_OP op="NE">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
<CONSTANT value="1" datatype="INT" />
</LOGICAL_OP>
<LOGICAL_OP op="IS NULL">
<VARIABLE_REFERENCE name="$G_TRACE_MODE" />
</LOGICAL_OP>
</LOGICAL_OP>
</LOGICAL_OP>
</DIExpression>
</DISwitch>
<DISwitch label="RE_RUN" outputView="CASE_LOAD_RE_RUN" isDefault="true">
</DISwitch>
</DICase>
<DIAttributes>
<DIAttribute name="Mutually_Exclusive" value="yes"/>
<DIAttribute name="Preserve_Expression_Order" value="no"/>
</DIAttributes>
</DITransformCall>
<DIDatabaseTableTarget typeID="11" bulkLoader="false" datastoreName="SRCSTAGING_DS" ownerName="SRCSTAGING_ALIAS" tableName="PPM_REQUEST_USERDATA_PLHD_TSNP" >
<DIInputView name="CASE_LOAD_RE_RUN"  />
<DIAttributes>
<DIAttribute name="LDRLiveLoad" value="no"/>
<DIAttribute name="Table_Type" value="TABLE"/>
<DIAttribute name="connection_port" value="no"/>
<DIAttribute name="ldr_configuration_enabled" value="yes"/>
<DIAttribute name="ldr_configurations" hasNestedXMLTree ="true">
<LDRConfigurations>
              <LDRConfiguration database_type="Microsoft_SQL_Server" database_version="Microsoft SQL Server 2005">
                <auto_correct_using_merge>Yes</auto_correct_using_merge>
                <bulk_ldr_all_rows/>
                <bulk_ldr_max_errors/>
                <bulk_ldr_rows_per_commit/>
                <enable_partitioning>no</enable_partitioning>
                <ignore_column_case>yes</ignore_column_case>
                <ignore_columns_null>no</ignore_columns_null>
                <ignore_columns_value/>
                <loader_auto_correct>yes</loader_auto_correct>
                <loader_bulk_load>0</loader_bulk_load>
                <loader_compare_column>compare_by_name</loader_compare_column>
                <loader_delete_map/>
                <loader_drop_and_create_table>no</loader_drop_and_create_table>
                <loader_insert_map/>
                <loader_load_choice>append</loader_load_choice>
                <loader_num_parallel_loaders>1</loader_num_parallel_loaders>
                <loader_overflow_file>SRCSTAGING_DS_SRCSTAGING_ALIAS_PPM_REQUEST_USERDATA_PLHD_TSNP.txt</loader_overflow_file>
                <loader_post_load1/>
                <loader_pre_load1/>
                <loader_quote_names>0</loader_quote_names>
                <loader_transactional>no</loader_transactional>
                <loader_transactional_order>0</loader_transactional_order>
                <loader_update_key_columns>no</loader_update_key_columns>
                <loader_update_map/>
                <loader_use_user_defined_keys>no</loader_use_user_defined_keys>
                <loader_xact_size>1000</loader_xact_size>
                <mssql_bulk_ldr_mode>append</mssql_bulk_ldr_mode>
                <mssql_bulk_ldr_packet_size>4</mssql_bulk_ldr_packet_size>
                <overflow_file_format>Write data</overflow_file_format>
                <overriding_substitution_parameter_for_tablename/>
                <use_overflow_file>no</use_overflow_file>
                <use_unicode_varchar>no</use_unicode_varchar>
                <sql_text/>
              </LDRConfiguration>
            </LDRConfigurations>
</DIAttribute>
<DIAttribute name="loader_template_table" value="no"/>
<DIAttribute name="name" value="SRCSTAGING_DS"/>
<DIAttribute name="use_unicode_varchar" value="no"/>
</DIAttributes>
</DIDatabaseTableTarget>

</DITransforms>
<DIAttributes>
<DIAttribute name="Cache_type" value="pageable_cache"/>
<DIAttribute name="Parallelism_degree" value="0"/>
<DIAttribute name="allows_both_input_and_output" value="yes"/>
<DIAttribute name="run_once" value="no"/>
<DIAttribute name="use_dataflow_links" value="no"/>
<DIAttribute name="use_datastore_links" value="yes"/>
<DIAttribute name="validation_xform_exists" value="no"/>
<DIAttribute name="validation_xform_stats" value="no"/>
</DIAttributes>
</DIDataflow>

</DataIntegratorExport>

